Sample Java Counter Applet

Note: If this applet isn't working it is probably because you need to rename Counter.cla to Counter.class and Counter.jav to Counter.java. This is because the compression utility used to "zip" up this toolkit doesn't handle long file names.

This Java Applet takes a number as a parameter and displays that number graphically. It can work with the NetWare Web Server's extended Server-Side Includes #COUNT command by embedding the #COUNT in the parameter passed to the Java applet.

For example, notice this hit counter

Source is Counter.java.