Java Applet: WalkingText
Version 1.3 - 12. December 2002

WalkingText Download (Basel, Switzerland)
WalkingText Download (Berlin, Germany)
v1.3
12. Dec. 2002
20 Kb Freeware
US$ 0.00

Copyright © 1999-2000, 2002

http://www.informatics-consulting.de


CONTENTS

  1. What is WalkingText.class?
  2. Using WalkingText
  3. License
  4. Credits

What is WalkingText.class?

[If you see this message, then your browser doen't support Java]
[If you see this message, then your browser doen't support Java]

WalkingText a FREEWARE Java Applet that will display text that 'walks' across the display area, either horizontally or vertically, as you see in the examples above.

Using WalkingText

  1. Download the WALKTEXT.ZIP file from http://www.informatics-consulting.ch/software/walktext.zip or http://www.informatics-consulting.de/software/walktext.zip (20 KB) and store it into a temporary directory, e.g. C:\TEMP
  2. Use some tool like WinZip to extract WalkingText.class from WALKTEXT.ZIP
  3. Copy WalkingText.class to your web server, and add an <APPLET> tag to your web page(s) to call WalkingText.class

The behaviour of WalkingText.class is controlled via parameters supplies when the Applet is called.

The following <PARAM ...> parameters are recognised by WalkingText.class:

name= value= Description
bannercount 1 Defines the number of texts to be displayed
vertical "false" Determines if the text scrolls horizontally or vertically. "true", "yes", or a non-zero value is interpreted as true. "false", "no" or zero is false. Default is false.
valign "-1", "0", or "1" If vertical="true", then
valign="-1" causes the text to be left-aligned.
valign="0" causes the text to be centered. (This is the default behaviour)
valign="1" causes the text to be right-aligned.
textn "text to be displayed" Defines the text to be displayed. text 1 = the first text, text 2 the second, ...
linebreak "|" If vertical scrolling is used, this character defines where the text string(s) should be wrapped onto the next line. Each text may contain up to 24 line breaks.
fontn font name Defines the font for text n. This can be a logical font name or a font face name. A logical name must be either: Dialog, DialogInput, Monospaced, Serif, SansSerif, or Symbol.
formatn "bold" Defines the format for text n. "b" = bold, "i" = italic, "bi" = bold-italic
colorn "darkred" Defines the color for text n. May be a RGB definition, e.g. "#C0C0C0" or one of the following color names: black, darkgray, gray, lightgray, white, darkred, magenta, red, pink, orange, yellow, green, darkgreen, darkblue, blue, cyan.
shadown "darkred" Defines the text shadow color for text n. See color for the supported colors.
hrefn "somepage.html" Defines the web page to open when the user clicks on text n.
targetframen "_self", "_top", "someframe" Defines the frame in which to display the selected web page. n.
sizen 16 Defines the size of the font to be displayed (in pixels).
speed 2 Defines how fast the text will scroll. Try 1 to 2 for vertical scrolling, and 6 to 8 for horizontal scrolling texts.
background "white" Defines the background color for the Applet window. See color for the supported colors.
border 1 Defines if the display has a border: 0 =no border, 1 =simple border, 2 =3D raised border, 3 =3D sunken border, 4 =rounded rectangle
bordercolor "gray" Defines the color of the border. See color for the supported colors.
highlight "lightgray" Defines the color of the border when the mouse is over the Applet window. See color for the supported colors.
bgimage "imagefile.gif" Defines the background image for the Applet window.
bgimagemode 0, 1 or 2 Backround image mode: 0=centered, 1=scaled, 2=tiled
xmargin 2 Width of the X-axis margin (how far the text is clipped from the border).
ymargin 2 Width of the Y-axis margin (how far the text is clipped from the border).

Note: Defining any of the values without the n suffix defines the 'default' value.

Example

The simplest form of WalkingText is illustrated below:

This simple example is created with the following code:

    <applet code="WalkingText.class" width=250 height=28>
    <param name=bannercount value=1>
    <param name=text1       value="A simple example of WalkingText in action.">
    <param name=border      value=1>
    </applet>

License

WalkingText.class is Copyright © 1999-2000, 2002 by James Greene .

WalkingText.class has placed it in the public domain. This means you can use it free of charge for any purpose you like, with nearly no conditions being placed on its use.

The source code, WalkingText.java, is available from the author for a small fee. Please contact for more information.

 

Credits

WalkingText.class was developed by James Greene, with the Sun Microsystems JDK v1.4.1.

Back to the Shareware Overview


This page was last updated on Friday, 21. October 2005.

Copyright © 1999-2000, 2002 James Greene. All rights reserved.
Information in this document is subject to change without notice.
Please send any questions or comments about this page to .