WStar Applet

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
  2. Copy the 'wstar.jar' file to your site
  3. Call the applet and define parameters

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>

You can change the following parameters:
width, height, hspace, vspace, align, alt
Standard applet parameters. Set to any value.
title
This appears at the top op the applet. If set to blank ("") then the title line is omitted.
width, height, hspace, vspace, align, alt
Standard applet parameters. Set to any value.
controls
Set to true if you want to allow the user to change the picture parameters.
picture
Valid values: "Star", "Pascal" and "Nephroid". The picture type.
points
Number of points in the picture. Valid values are 1-200.
background, foreground
The colors of the picture.