CoStarsAppletDemo.html

This web page and its included applet demonstrate a simple method for converting a Java application based on CoStarsComponent into an applet.  The key is to use CoStarsApplet.java as the applet.  This is an applet that takes the name of your class as a parameter in the HTML.  For example, this page runs the familiar SampleGraphics.java program by including the following HTML:

     <APPLET code="CoStarsApplet.class" width="500" height="300" >
          <PARAM NAME="CoStarsComponent" VALUE="SampleGraphics">
     </APPLET>

Of course, you should substitute your class's name in place of "SampleGraphics".


Here is the actual applet running: