Kazuma.net

Jars Top 25%JavaKzmTypewriter

Date: 9 Sep 1996
Last Release: 11 Sep 1996


KzmTypewriter was suggested by a user that i met on the net. He saw a similar applet surfing on the net, but he couldn't obtain it, so he asked me to realize something similar. I did it, and here it is. So, I would like to say a big THANK-YOU to Sergio Squadroni that also gave me the sound of the typewriter !
KzmTypewriter is a very simple vertical text scroller, like an "old electrical" typewriter. The text is read from a text file. Graphics and sounds are funny, but (if you prefer to increment speed) you can choose to disable both of them. The color of both "paper" and "ink" are also configurable.
The sound can be continuos or it can be disabled after the forst loop of the text file.
There are 4 speed (x-fast, fast, medium, slow) and 4 size of chars (x-big, big, medium, small). In addition you can use the papercolor parameter to set up a background image ...
 

PARAMETER

Speed (x-fast|fast|medium|slow, default=medium)
The speed of the applet.

FontSize (x-big|big|medium|small, default=small)
The size of the character.

Text (filename, default="text.txt")
The name of the file containing the text to print.

Loop (on|off, default="off")
Set this parameter to "on" if you wanna to loop the file.

Graphics (on|off, default="off")
Set this parameter to "on" if you wanna use the typewriter ball graphic.

Sounds (on|off, default="off")
Set this parameter to "on" if you wanna activate sounds.

LoopSounds (on|off, default="off")
If you set "on" this parameter the sounds will continue looping like the file. If "off" after first loop, sounds is stopped.

PaperColor (R G B, default="255 255 255" - or filename)
This parameter controls the background. If the value is a valid RGB format color than the color is used. If the value is a valid image filename, the image is used as background.

InkColor (R G B, default="0 0 0")
The color of the ink (text).

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="KzmTypewriter" WIDTH="425" HEIGHT="200">
 <PARAM NAME="copyright" VALUE="Alex 'Kazuma' Garbagnati, kazuma@energy.it">
 <PARAM NAME="speed" VALUE="fast">
 <PARAM NAME="fonsize" VALUE="small">
 <PARAM NAME="text" VALUE="typewriter.txt">
 <PARAM NAME="loop" VALUE="on">
 <PARAM NAME="papercolor" VALUE="255 255 255">
 <PARAM NAME="inkcolor" VALUE="0 0 0">
 <PARAM NAME="graphics" VALUE="on">
 <PARAM NAME="sounds" VALUE="on">
 <PARAM NAME="loopsounds" VALUE="off">
 <PARAM NAME="title" VALUE="Welcome to KzmBLGraph">
</APPLET>

DOWNLOAD KzmTypewriter.zip

Back to applet list


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