Applet Parameters

The APPLET or OBJECT tag contains attributes that set the parameters required for the applet to run.

code The name value pair, code=Applet-class, set the location and class name for the agent applet.

Example:
code=com.sun.javatest.agent.AgentApplet

codebase The name value pair, codebase=JavaTest-classes, set the URL for the JavaTest classes. The URL either provides the location of the javatest.jar file or, if the javatest.jar file was unpacked, JavaTest classes directory.

The URL should be relative to the directory containg the HTML page.

Example:
codebase=javatest3/javatest.jar

width The name value pair, width=display-width, set the width of the applet. An initial value of 600 is suggested; however you may need to adjust the value based on your screen resolution.

Example:
width=600

height The name value pair, height=display-height, set the height of the applet. An initial value of 600 is suggested; however you may need to adjust the value based on your screen resolution.

Example:
height=600