Source
Homework Assignment
- Add two more different shapes to the list of shapes drawn by the
applet.
- Redraw the screen whenever necessary (deiconify, re-expose).
This will require saving the shapes, their colors, and their locations.
- Hints: check out class Vector, class Graphics, and Applet.paint().