View RSS Feed

Recent Blogs Posts

  1. Applets with parameters

    by , 11-19-2011 at 06:37 PM (My Java Tips)
    Applets may accept parameters. This post briefly shows how to do that.

    Applet in included in HTML using APPLET tag. You have to specify the parameters in APPLET tag in the following form:
    Java Code:
    <applet code="AppletSubclass.class" width="anInt" height="anInt">
    <param name="parameter1Name" value="aValue"></param>
    <param name="parameter2Name" value="anotherValue"></param>
    Java SE