The appletviewer Browser

appletviewer, the Java applet viewer, is used to run Java programs that require a Web browser and are presented as part of an HTML document.

appletviewer takes an HTML document as a command-line argument, as in the following example:

appletviewer NewAuctions.html

When an HTML document is loaded by appletviewer, every applet on that document will begin running in its own window. The size of these windows depends on the HEIGHT and WIDTH attributes that were set in the applet's HTML tag.

Unlike a Web browser, appletviewer cannot be used to view the HTML document itself. If you want to see how the applet is laid out in relation to the other contents of the document, you must use a Java-capable Web browser such as Netscape ...

Get Sams Teach Yourself Java 2 in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.