Java Source: RectangleFun.java
HTML Source:
<APPLET CODE="RectangleFun.class" WIDTH=300 HEIGHT=300> <PARAM NAME="speed" VALUE="5"> </APPLET>