3 <TITLE>TrivialApplet
</TITLE>
6 <SCRIPT LANGUAGE=
"JavaScript">
8 var System = java.lang.System;
10 function writeln(text)
12 document.write(
"<P>", text,
"</P>");
15 function println(text)
17 System.out.println(text);
20 function examineApplets()
22 var applets = document.applets;
23 println(
"applets.length = " + applets.length);
26 function examineTrivialApplet(applet)
28 // applet.print(
"url = " + applet.urlField.getText());
29 println(
"url = " + applet.urlField.getText());
34 <!-- <BODY onload="examineApplets();"> -->
40 ARCHIVE=
"AppletClasses.jar"
42 CODE=
"TrivialApplet.class"
45 <PARAM NAME=
"URL" VALUE=
"http://home.netscape.com">
51 <a href=
"TrivialApplet.java">The source.
</a>
58 onclick=
"examineApplets();"
59 value=
"examineApplets()">
62 onclick=
"examineTrivialApplet(document.TrivialApplet);"
63 value=
"examineTrivialApplet()">