NAME
gappletviewer - Load and runs an applet
SYNOPSIS
appletviewer [\s-1OPTION\s0]... \s-1URL\s0...
appletviewer [\s-1OPTION\s0]... -code \s-1CODE\s0
appletviewer [\s-1OPTION\s0]... -plugin \s-1INPUT\s0,\s-1OUTPUT\s0
DESCRIPTION
The appletviewer tool loads and runs an applet.
Use the first form to test applets specified by tag. The \s-1URL\s0 should
resolve to an \s-1HTML\s0 document from which the appletviewer will
extract applet tags. The \s-1APPLET\s0, \s-1EMBED\s0 and \s-1OBJECT\s0 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 \s-1URL\s0 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
\s-1URL\s0 \s-1OPTIONS\s0
"-debug"
This option is not yet implemented but is provided for compatibility.
"-encoding
Use this option to specify an alternate character encoding for the
specified \s-1HTML\s0 page.
\s-1APPLET\s0 \s-1TAG\s0 \s-1OPTIONS\s0
"-code
Use the -code option to specify the value of the applet tag
\s-1CODE\s0 attribute.
"-codebase
Use the -codebase option to specify the value of the applet tag
\s-1CODEBASE\s0 attribute.
"-archive
Use the -archive option to specify the value of the applet tag
\s-1ARCHIVE\s0 attribute.
"-width
Use the -width option to specify the value of the applet tag
\s-1WIDTH\s0 attribute.
"-height
Use the -height option to specify the value of the applet tag
\s-1HEIGHT\s0 attribute.
"-param
Use the -param option to specify values for the \s-1NAME\s0
and \s-1VALUE\s0 attributes of an applet \s-1PARAM\s0 tag.
\s-1PLUGIN\s0 \s-1OPTION\s0
"-plugin
gcjwebplugin uses the -plugin option to specify the
named pipe the appletviewer should use for receiving commands
(\s-1INPUT\s0) and the one it should use for sending commands to
gcjwebplugin (\s-1OUTPUT\s0).
\s-1DEBUGGING\s0 \s-1OPTION\s0
"-verbose"
Use the -verbose option to have the appletviewer print
debugging messages.
\s-1STANDARD\s0 \s-1OPTIONS\s0
"-help"
Use the -help option to have the appletviewer print a
usage message, then exit.
"-version"
Use the -version option to have the appletviewer print
its version, then exit.
"-J\s-1OPTION\s0"
Use the -J option to pass \s-1OPTION\s0 to the virtual machine that
will run the appletviewer. Unlike other options, there must
not be a space between the -J and \s-1OPTION\s0.
SEE ALSO