GraphicsApplet 2
An applet that draws a rectangle:
Here's the source:
GraphicsApplet.java