This example requires a Java enabled browser

Animated applet with multiple threads

This applet displays a scrolling text message. It also responds to user clicks. Clicking and holding will suspend the animation - allowing users to read text before it scrolls away. Releasing the mouse button will automatically resume the animation.

AnimationApplet takes a single parameter - AnimationString. This parameter controls the text that will be displayed.

If you would like to place this applet on your page, simply paste this code into the HTML source, and remember to change the AnimationString  parameter. If you'd like to host the applet on your own server, change the codebase, and download the .class file

<applet code="AnimationApplet.class" name="AnimationApplet" width="400" height="40"
  <param name="AnimationString" value="Insert your message here!">

The source.