JAVA     

KzmScroll

Created: 18.Nov.95
Last Update: 22.Nov.95

KzmScroll Applet
    * Description

This is my first Java work.

I wrote it basing on a ticker tape that i've seen on the C|Net web site. My provider (Energy!) liked it and asked me to write something similar. So, I started working with this language.
KzmScroll
prints a moving message (from right to left) on the screen in a colored rectangle.

     
    * Parameters
Font (string, default="Helvetica")
The name of the font. Unfortunately this parameters could be "dangerous" if you use a font that is not present in all system. So, be careful in using it.
FontSize (int, default=12)
The size of the font
FontBold (0|1, default=1)
If this parameter is 0 the font is plain, if it is 1 the font is bold.
Rectangle (X Y W H, default=size of applet)
The size of the scrollable area.
Shift (int, default=5)
This is the shifting of the message.
Delay (int, default=50)
The delay (in milliseconds) between every shift.
Rect_Color (R G B, default=0 0 0)
The color of the scrollable area (the rectangle).
Text_Color (R G B, default=255 255 255)
The color of the scrolling text.
Message (string, default=my name)
The text of the message to scroll.
Copyright (string)
This is a simple copyright line. Please, don't change it. The applet is free, so the only cost is to leave this copyright.
     
    * Download
KzmScroll.zip      
    * Example
Here is the tag used for the example above:
<APPLET CODE="KzmScroll" WIDTH="350" HEIGHT="20">
 <PARAM NAME="copyright"
        VALUE="Alex 'Kazuma' Garbagnati, kazuma@energy.it"
 <PARAM NAME="font" VALUE="Helvetica">
 <PARAM NAME="fontbold" VALUE="0">
 <PARAM NAME="fontsize" VALUE="14">
 <PARAM NAME="shift" VALUE="2">
 <PARAM NAME="delay" VALUE="50">
 <PARAM NAME="rectangle" VALUE="0 0 350 20">
 <PARAM NAME="message" VALUE="Welcome: this is KzmScroll !">
 <PARAM NAME="rect_color" VALUE="0 0 128">
 <PARAM NAME="text_color" VALUE="0 255 255">
</APPLET>