This example will show how the applet can be modified by changing the html-file which runs the applet. The <applet>-tag in the html-file can contain parameters which guide the applet.
The parameters can be given in the applet tag as follows
<applet code=marquee.class width=330 height=170> <param name=message value="My Marquee"> <param name=font value=Courier> <param name=point_size value=30> </applet>
The parameters are examined in the init - function of the applet
The parameters are used in the paint - function.