Arguments for the APPLET Tag

The following arguments configure the APPLET tag in the HTML output file.
Note: The CODEBASE argument is required.
AHUNITS=PIXELS | PERCENT
specifies the units of the HEIGHT= argument. The default value is PIXELS. See also the AWUNITS= argument.
Used by:DS2TREE, DS2CONST
ALIGN=position
specifies the alignment of the applet window in the browser window or frame. Values can be LEFT, RIGHT, TOP, BOTTOM, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, or ABSBOTTOM.
Used by:DS2TREE, DS2CONST
ALT=text
specifies the text that will be displayed on mouseover by browsers that understand the tag but cannot run Java applets. The default value is SAS Institute Inc. applet_name.
Used by:DS2TREE, DS2CONST
ARCHIVE=filename
specifies the name of the Java archive file(s).
Note: The path to the Java archive is specified in the CODEBASE argument.
The following table shows what archive files to use with each of the macros. For DS2TREE and DS2CONST, you do not have to specify a value for ARCHIVE= because the values shown are generated by default.
DS2TREE
archive=%str(sas.graph.treeview.jar, sas.graph.nld.jar, sas.graph.j2d.jar)
DS2CONST
archive=%str(sas.graph.constapp.jar, sas.graph.nld.jar, sas.graph.j2d.jar)
Note: Prior to SAS 9.1, treeview.jar and constapp.jar also contained the classes that are now included in the auxiliary JAR files (sas.graph.nld.jar and sas.graph.j2d.jar). Although you can continue to use the older JAR files by specifying ARCHIVE=treeview.jar or ARCHIVE=constapp.jar, future versions might not support these older JAR files.
Used by:DS2TREE, DS2CONST
AWUNITS=PIXELS | PERCENT
specifies the units of the WIDTH= argument. The default value is PIXELS. See also the HEIGHT= and AHUNITS= arguments.
Used by:DS2TREE, DS2CONST
CODEBASE=path-or-URL
specifies the path of the SAS Java archives specified in the ARCHIVE= argument.
The CODEBASE argument is required. You can specify CODEBASE=“.” if the HTML file and Java archive files are in the same directory.
Note: You can specify the location pointed to by the SAS system option APPLETLOC=, or you can specify a different location. To display the current value of APPLETLOC, run the following code:
proc options option=appletloc;
run;

The value of the APPLETLOC system option is not used as the default value.
Used by:DS2TREE, DS2CONST
Requirement:This argument is required.
HEIGHT=applet-height
specifies the height of the applet window. The unit of measure is pixels unless changed by the AHUNITS= argument. The default value is 600 for all macros.
Used by:DS2TREE, DS2CONST
HSPACE=pixels
specifies the amount of horizontal space, in pixels, to the left and right of the graph or diagram.
Used by:DS2TREE, DS2CONST
NAME=applet-name
specifies the name for this instance of the applet. You need to use this argument only if you have more than one instance of the APPLET tag in your HTML file, and if you have included your own scripts or DHTML that communicates with or acts on a particular instance of the applet.
Used by:DS2TREE, DS2CONST
VSPACE=pixels
specifies the amount of vertical space, in pixels, to the top and bottom of the graph or diagram.
Used by:DS2TREE, DS2CONST
WIDTH=applet-width
specifies the width of the applet window. The unit of measure defaults to pixels unless specified by the AWUNITS= argument.
Used by:DS2TREE, DS2CONST