AppletViewer is a standalone command-line program from
Sun to run
Java applet
Java applets were small applications written in the Java programming language, or another programming language that compiles to Java bytecode, and delivered to users in the form of Java bytecode. The user launched the Java applet from a ...
s. Appletviewer is generally used by developers for testing their applets before deploying them to a
website
A website (also written as a web site) is a collection of web pages and related content that is identified by a common domain name and published on at least one web server. Examples of notable websites are Google, Facebook, Amazon, and Wikip ...
.
As a Java developer, it is a preferred option for running Java applets that do not involve the use of a
web browser
A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used on ...
. 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
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
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 mimics 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 The Joe Rogan Experience (JRE) is a podcast hosted by American comedian and presenter Joe Rogan.
JRE can also mean:
*Java Runtime Environment
*The Joe Rogan Experience
*JR East, see East Japan Railway Company
The is a major passenger railway ...
package. The Java development kit
GCJ also has its own version of appletviewer, called "gappletviewer".
External links
The Java Website**
ownload.jsp Java SE Downloads JDK download page
**
ocs/tooldocs/ JDK Development Tools includes detailed documentation of appletviewer and other Java tools
{{programming-software-stub
Java platform software