Using Common SDK Tools

appletviewer

The Java Applet Viewer command allows you to execute applets outside of the context of a Web browser. To view an applet, pass the URL of the HTML document with the embedded applet to the appletviewer program as an argument. If the document does not contain any applets, the program does nothing. The program will run each applet it finds in a separate window.

appletviewer recognizes applets embedded using the <object>, <embed>, and <applet> tags.

The following options are available:

  • -debug Starts the appletviewer using the Java debug program jdb, allowing you to debug applets.

  • -encoding encodingName Specifies the input HTML file encoding that should be used when reading the URL.

  • -Jjavaoption Passes the specified ...

Get Java Garage 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.