JDoc Applet Parameters

JDoc provides default values for all of its parameters so that the applet can be invoked without specifying any <param> tags at all--to display a blank document!

This default implementation can be customized by setting the following parameters. The first eight parameters below are unique to JDoc and JDocViewer and are set only in its <applet> tag.

Parameter Default Value Comments
source Specify URL for source file. May be absolute URL or path relative to file containing the <applet> tag. JDoc will attempt to interpret .htm or .html file types as HTML source documents and .jpg, .jpeg, or .gif as image files; other file types will be interpreted as plain text files.
leftmargin 0 The default values for the document's margins assume that these values will be set outside the applet (e.g., using the hspace and vspace attributes of the applet tag). Alternatively, they can be set using the parameters defined here.
rightmargin 0
topmargin 0
bottommargin 0
scrollmargin 10 This parameter determines the white-space between the end of the text line and the vertical scroll bar (if present). It must be set within JDoc and has a default value of 10 pixels.
scroll true, false When set, document has a vertical scroll bar. The default value is true.
hscroll true, false When set, document has a horizontal scroll bar. The default value is false.

The second set of parameters are more general values ultilized by JDoc as well as its companion JSite product. See JSite Applet Parameters for details.