APPLETVIEWER Linux Command
What is Linux appletviewer Command?
appletviewer COMMAND:The appletviewer command is used to run applets outside of a web browser. The command runs the java applet viewer. In other words, the "appletviewer" command connects the documents or resources designated by urls and displays each applet referenced by the documents in its own window. The documents referred to by the urls should reference applets with the OBJECT, EMBED, or APPLET tag for the appletviewer command to run the applets.
The appletviewer command requires encoded URLs according to the escaping mechanism defined in RFC2396. Only encoded URLs are supported. However, file names must be unencoded, as specified in RFC2396. The appletviewer command is intended for development purposes only.
appletviewer [options] url...
||Starts the Applet Viewer in the Java debugger with the jdb
command to debug the applets in the document.|
||Specifies the input HTML file encoding name.
||SPasses the string javaoption as a single argument to the Java
interpreter, which runs the Applet Viewer. The argument should
not contain spaces. Multiple argument words must all begin with
the prefix -J. This is useful for adjusting the compiler's
execution environment or memory usage.
- First you have to write java program to create applet window. Then, compile the program like below
javac appletprogram.java Then, use appletviewer command to open applet window: