setAppletDescription method
Adds or replaces an applet in the specified AppletContainer by assigning it
an AppletDescription.
Syntax
AppletContainer.setAppletDescription(index, AppletDescription)
Applies to
AppletContainer object.
Parameters
- index
- integer. The index of the applet to which a description is to
be assigned. The index corresponds to the
integer specified in the AppletContainer applet_n PARAM tag that identifies the applet.
- AppletDescription
- AppletDescription. An AppletDescription is a collection of information that
characterizes a given applet.
Usage
Assigning an AppletDescription to an existing applet in an AppletContainer effectively replaces
that applet with a new one fitting that description. Assigning an AppletDescription to
a nonexistent applet (by specifying an index of -1 or an integer equal to the
number of applets in the AppletContainer) creates an applet fitting that
description.
Example
Replacing an applet example
See also
getAppletDescription method