Java3

Applet below.