that is an applet, you don't run it from the command line. you need to run it in a web browser or applet viewer... make an html file that references the applet like this:
<applet code="Applet.class" width="200" height="200"/>
and open it in your browser.