Exercises
Write a simple applet that draws a red rectangle, create its HTML page and execute it with the help of the appletviewer.
Extend the previous applet to get its rectangle bounds from the HTML page.
Write an applet that lets the user click and drag the mouse to create randomly coloured circles.
Make the previous applet able to paint other shapes as well as circles.