Jump to content

AppletViewer

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by The Evil Spartan (talk | contribs) at 17:47, 18 July 2007 (restub). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
File:Appletviewer screenshot-hello world.png
AppletViewer Screenshot on Linux

AppletViewer is a standalone, command line program from Sun to run Java applets. Appletviewer is generally used by developers for testing their applets before being deployed to a website.

As a Java developer, it is a preferred option for running Java applets that doesn't involve the use of a Web browser. Even though the applet viewer logically takes the place of a Web browser, it functions very differently than a Web browser. The applet viewer operates on HTML documents, but all it looks for is embedded applet tags; any other HTML code in the document is ignored. Each time the applet viewer encounters an applet tag in an HTML document, it launches a separate applet viewer window containing the respective applet. The only drawback to using the applet viewer is that it won't show you how an applet will run within the confines of a real Web setting. Because the applet viewer ignores all HTML codes except applet tags, it doesn't even attempt to display any other information contained in the HTML document.