gappletviewer (1) Linux Manual Page
NAME
gappletviewer – Load and runs an applet
SYNOPSIS
appletviewer [OPTION]… URL…
appletviewer [OPTION]… -code CODE
appletviewer [OPTION]… -plugin INPUT,OUTPUT
DESCRIPTION
The appletviewer tool loads and runs an applet.
Use the first form to test applets specified by tag. The URL should resolve to an HTML document from which the appletviewer will extract applet tags. The APPLET, EMBED and OBJECT tags are supported. If a given document contains multiple applet tags, all the applets will be loaded, with each applet appearing in its own window. Likewise, when multiple URLs are specified, each applet tag instance is given its own window. If a given document contains no recognized tags the appletviewer does nothing.
appletviewer http://www.gnu.org/software/classpath/
Use the second form to test an applet in development. This form allows applet tag attributes to be supplied on the command line. Only one applet may be specified using the -code option. The -code option overrides the URL form — any URLs specified will be ignored.
appletviewer -code Test.class -param datafile,data.txt
gcjwebplugin uses the third form to communicate with the appletviewer through named pipes.
OPTIONS
URL OPTIONS
-debug- This option is not yet implemented but is provided for compatibility.
-encodingCHARSET- Use this option to specify an alternate character encoding for the specified HTML page.
APPLET TAG OPTIONS
-codeCODE- Use the
-codeoption to specify the value of the applet tag CODE attribute. -codebaseCODEBASE- Use the
-codebaseoption to specify the value of the applet tag CODEBASE attribute. -archiveARCHIVE- Use the
-archiveoption to specify the value of the applet tag ARCHIVE attribute. -widthWIDTH- Use the
-widthoption to specify the value of the applet tag WIDTH attribute. -heightHEIGHT- Use the
-heightoption to specify the value of the applet tag HEIGHT attribute. -paramNAME,VALUE- Use the
-paramoption to specify values for the NAME and VALUE attributes of an applet PARAM tag.
PLUGIN OPTION
-pluginINPUT,OUTPUT-
gcjwebpluginuses the-pluginoption to specify the named pipe theappletviewershould use for receiving commands (INPUT) and the one it should use for sending commands togcjwebplugin(OUTPUT).
DEBUGGING OPTION
-verbose- Use the
-verboseoption to have theappletviewerprint debugging messages.
STANDARD OPTIONS
-help- Use the
-helpoption to have theappletviewerprint a usage message, then exit. -version- Use the
-versionoption to have theappletviewerprint its version, then exit. -JOPTION- Use the
-Joption to pass OPTION to the virtual machine that will run theappletviewer. Unlike other options, there must not be a space between the-Jand OPTION.
