Applet.code (Property)

The Java class code for the applet.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myApplet.code

This specifies the main code class to be called when the applet is initially run. It is necessary to identify the main item in case there was a collection of class files loaded as an archive.

See also:Applet.archive

Property attributes:

ReadOnly.