Java test 3

Applet below.