How do I read an applet parameters?
Category: java.applet, viewed: 6K time(s).
Now we have the applet code ready. To enable the web browser to execute the applet create the following html page.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Parameterized Applet</title>
</head>
<body>
<applet code="org.kodejava.example.applet.AppletParameterExample"
height="150" width="350">
<param name="name" value="Mr. Bean" />
</applet>
</body>
</html>
More examples on java.applet
|
|