I belive you can run the applet in two ways, one is through command
line and second if you installl Jcreator. From command line you
need first to compile java file. and when you compile java file you
will get one .class file. and then create another file .html file.
and in that .html file write that class name. and run the applet do
>appletviewer file.html that should work.