GraphicsApplet 1
An applet that draws a line on the screen:
Here's the source:
GraphicsApplet.java