You can give an applet a name by using the NAME
attribute of the APPLET
element. This allows communication
between different applets on the same web page.
<applet code="HelloWorldApplet" name="Applet1"
codebase="http://www.foo.bar.com/classes" width="200" height="200"
align="right" hspace="5" vspace="10"
alt="Hello World!">
Hello World!<P>
</applet>