In addition to running the applet using a
web browser such as Internet Explorer, you can view it using the
"appletviewer" program that comes with the JDK. You can view an
applet by executing a command such as:
> appletviewer hello.html
Notice that we run appletviewer on the HTML
file, not the applet itself. The appletviewer program looks for the
applet tag in the HTML file you give it to determine what to
display. It will not display the HTML around the applet, just the
applet itself.