Wikipedia

AppletViewer

Also found in: Encyclopedia.

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

As a Java developer, it is a preferred option for running Java applets that do not involve the use of a web browser. Even though the applet viewer logically takes the place of a web browser, it functions very differently from 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 will not show 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 does not even attempt to display any other information contained in the HTML document.

An Applet viewer creates an environment that mocks the look and feel of a stand-alone program with no interaction with a web browser, even though it does involve a browser to run an applet.

Appletviewer is included with Sun's JDK package, but not with Sun's JRE package. The Java development kit GCJ also has its own version of appletviewer, called "gappletviewer".

External links

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.