This program shows how one might enable a user to pinpoint the coordinates of a particular spot in a digital image by providing crosshairs that can be positioned using the mouse and displaying the numeric coordinates as the crosshairs move. It demonstates the use of both accessor and mutator methods, as well as the use of numeric constants.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for FancyCrossHairs.