Naming Applets

You can give an applet a name by using the NAME attribute of the APPLET tag. This allows communication between different applets on the same Web page.

<applet code="HelloWorldApplet.class" 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>

Previous | Next | Top
Last Modified February 10, 1999
Copyright 1997-1999 Elliotte Rusty Harold
elharo@metalab.unc.edu