Listing 2 -- HTML to invoke the slot applet


<html>
<body bgcolor="#000042">
<center>

<applet code="JavaSlot.class" width=200 height=150>
<Param name="ItemsToSpin" value=25>
<Param name="Delay" value=10>
<H1>You need a Browser with Java support!</H1>
</applet>

</center>
</body> </html>