The Scrolling Applet

This applet is used to scroll a message across the screen. Here's an example:
Sorry, your browser does not support Java

Download

To download the required files, click here.

Specifications

One class file is required: the 'ScrollApplet.class' file. The size of the font will be automatically set to fit the height of the applet.

The parameters used by the applet follow. If any parameters are omitted default values will be used.
Parameter NameTypePurpose
SCROLLTEXTstringThis parameter sets the text which will be scrolled in the applet.
FPSnumberThis parameter sets the number of frames per second, i.e. the speed. Good values are around 25.
BGIMAGEfilenameThis parameter specifies an image to use as a background. It should be either a GIF or a JPEG format file.

Example HTML code

<APPLET CODE="ScrollApplet.class" WIDTH=420 HEIGHT=40>
<PARAM NAME=SCROLLTEXT VALUE="This is an example of the scrolling applet.">
<PARAM NAME=FPS VALUE="20">
<PARAM NAME=BGIMAGE VALUE="background.gif">
</APPLET>


Copyright © 1997. Any questions, comments or suggestions to Niall Ryan
1