Kazuma.net

Jars RatedJavaKzmScroll

Date: 18 Nov 1995
Last Release: 22 Nov 1995


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 like that, and i did it.
KzmScroll prints a moving message (from right to left) on the screen in a colored rectangle.

 

PARAMETER

Font (string, default="Arial")
The name of the font. Unfortunately this could be "dangerous" if you use a font that is not present in all system. So, be careful in use 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.

 

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>

DOWNLOAD KzmScroll.zip

Back to applet list


back toKazuma.net
©1996, Alex "Kazuma" Garbagnati