The archive
attribute is an optional one that describes one or more files that contain classes and other resources that will be "preloaded."
Parameters already specify the values that applet
needs for initialization and for its correct display in the application. The HTML file lists parameters for the applet in the tags.
It's passed this way:
<param name=[nome] value=[valor]>
where [nome]
indicates the name of the parameter, as expected by applet
, and [valor]
represents the information to be passed.
To retrieve the value of a parameter, you have to call the getParameter()
method, passing the value of name
as the parameter.
References:
link
link