Java test 2

Applet below.