Java examples for Applet:Applet Creation
Getting an Applet Parameter
<applet code=AppletClassName width=100 height=100> <param name=p1 value="some text"> <param name=p2 value="some more text"> </applet>
String parameterName = "p1"; String value = applet.getParameter(parameterName); parameterName = "p2"; value = applet.getParameter(parameterName);