Running A Java Applet
Home ] Up ] Compiling A Java Source ] Running A Java Application ] [ Running A Java Applet ]

 

 

To run a Java Applet from the bare SDK, type something like the following:

appletviewer myHTMLfile.html

This reads or downloads an HTML document. It reads or downloads all the applets referenced in the document, and displays them, each in their own window. If the HTML document has no <APPLET> tag, it does nothing.

The general form of the command is:

appletviewer url|file...

Applets run in this way may be controlled by menu-driven commands supplied in the appletviewer's window.

 

This page was last modified on 02 October, 2007