Passing Parameter In An Applet

java packages » java.applet
Param attribute of Applet is used to pass parameter from html page to applet
Java Example Program / Sample Source Code
Html Code
<html>
    <head>
    <title>PassingParameterApplet</title>
    </head>
    <body>
        <applet code="PassingParameterApplet" width="700" height="500">
            <param name="Param" value="Welcome">
        </applet>
    </body>
</html>

Applet


AppletContext

2011-2012 JavaExamples.org Privacy Policy Powered by Google App Engine