Code16k Applet/Servlet

In this document you will find:

Applet demo


Click here to apply changes

Value:

X:

N:

BAR_HEIGHT:

Mode:

some graphic configuration

Orientation (rotation angle)

Back Color:

Bar Color:

 Applet parameters

The applet parameters are:

The following is an example of the applet:

If you want to use the class directly instead of the applet you must read the javadoc file.

 

Servlet

The parameters expceted by the servlet are the same as those for the applet. There are only 2 new parameters WIDTH and HEIGHT that are used to specify the size of the image returned by the servlet. The default size is (500,500).

if you want to test the servlet using JSWDK 1.0 you must:

Note: you can use the IMG tag in order to embed the image returned by the applet in a HTML page.