|
Class Summary |
| ComputeFigure |
The ComputeFigure class applet allows the user to
draw a figure (circle or rectangle) and obtain size and position in pixel
uses the java.lang.Math class to compute the area, perimeter of the circle |
| TheButtonHandler |
The TheButtonHandler class handles which button has been pushed
and sets the Applet data member 'figure' to the name of the pressed
button |
| TheMouseHandler |
The TheMouseHandler class handles mouse events
and sets the Applet data member x, y to the mouse location
and whether or not a button is pressed |