codice standard
due applet simili:
parametri comuni a entrambe
nella
prima sono accettati tutti parametri di default
(codice ridotto a essenziale)
<p><applet
code="ScrollingUpdateApplet.class"
align="center"
width="800" height="200"><param
name="text" value="demo6.txt">
<param name="background"
value="foto1.jpg"></applet></p>
<p><applet
code="ScrollingUpdateApplet.class"
align="center"
width="800" height="200">
<param name="text" value="demo6.txt">
<param
name="refresh" value="">
<param name="notifyOnRead" value="">
<param name="maxSizeKB" value="">
<param name="fontColor" value="">
<param name="justify" value="">
<param name="font" value="">
<param name="fontSize" value="">
<param name="frameDelay" value="">
<param
name="background" value="foto1.jpg">
<param name="pause"value="">
<param name="scrollRectX" value="">
<paramname="scrollRectY" value="">
<param name="scrollRectW" value="">
<param name="scrollRectH" value="">
</applet></p>
nella seconda vengono
assegnati da utente
<p><applet
code="ScrollingUpdateApplet.class"
align="center"
width="800" height="200">
<param name="text" value="demo6.txt">
<param name="refresh" value="60">
<param name="notifyOnRead"
value="false">
<param name="maxSizeKB" value="2">
<param name="fontColor" value="0000FF">
<param name="justify" value="left">
<param name="font" value="italic">
<param name="fontSize" value="20">
<param name="frameDelay" value="25">
<param
name="background" value="foto1.jpg">
<param name="pause"value="enter">
<
<param name="scrollRectX" value="200">
<paramname="scrollRectY" value="10">
<param name="scrollRectW" value="400">
<param name="scrollRectH" value="200">
</applet></p>