More Simple Java Programming
More Simple Java Programming
Class Examples:
Design a class that draws a box whereever the mouse is clicked. Click on
Improved MakeBox
to show the example.
Design a class that draws lines from where the mouse is pressed to the current location of the mouse. Click on
Spirograph
to show the example.
Design a class that creates a scribble. That is, it draws line segments joined end to end as the mouse moves. Click on
Scribble
to show the example.
Design a class that draws crosshairs over the current mouse location. Click on
CrossHairs
to show the example.
More Simple Java Programming