This example is written in Java and was tested with Microsoft Internet Explorer 5.5 and Netscape 6 with Java 2 plugin.
It is believed to work with all popular browsers that support Java 1.1. or higher.
Installation
If you like this applet and want to include it in your web page do this:1. Register and download the files
Before downloading the program you are requested to register yourself. There is no registration fee. If you register, you are allowed to use the program as a free software, and we will inform you about future upgrades.
You can download the files either in zip or in tgz format. Both archive contains the source and the executable files.
2. Copy the 'wstar.jar' file to your site
Copy the 'wstar.jar' file the directory where your page is.
3. Call the applet and define parameters
Insert the following HTML code into the source of your page:
<applet codebase = "." code = "wstar.WStarApplet.class" archive = "wstar.jar" name = "WStarApplet" width = 500 height = 400 hspace = 0 vspace = 0 align = middle alt = "WStar Applet" > <param name="title" value="WStar Applet by Propix"> <param name="controls" value="true"> <param name="picture" value="Star"> <param name="points" value="23"> <param name="background" value="#60E0E0"> <param name="foreground" value="#0000FF"> </applet>
width, height, hspace, vspace, align, alt
title
width, height, hspace, vspace, align, alt
controls
picture
points
background, foreground