Coding for the game applet:
<APPLET CODE="MyApplet.class" WIDTH=500 HEIGHT=500 NAME="MyApplet"> </APPLET>