Java™ - a simple scroller applet

You can easily use JavaScript to create different outputs for different browsers. You may simply check the browser and then generate a browser typical output:


          

This is the same applet with white background colour and green font color:


          

param name
param value
param meaning
file
scrolling.txt
spezifies the file containing the data to be displayed
foreground
00FF00
is the foreground color as a hex value
background
FFFFFF
is the background color as a hex value
font
14, Arial, BOLD
font size, font name and (optional)
font style (BOLD and/or ITALIC)
speeddelay
60
gives the speed of the animation (milliseconds between redrawing)
the smaller the value, the faster ist the animation
msgdelay
1000
time in milliseconds to wait before the animation goes on
left
30
similar to text-indent when using CSS
the text starts 30 pixels from left border


Download info:
icon  Download the compiled java applet below:
        mirror 1 is server online   download online     (file size: 301 Moved Permanently bytes, last modified: 01.01.1970)
        mirror 2 is server online  
icon  Download the source code of the java applet below:
        mirror 1 is server online   download online     (file size: 301 Moved Permanently bytes, last modified: 01.01.1970)
        mirror 2 is server online  
icon  Download and see the documented source code as PDF below:
        mirror 1 is server online   download online     (file size: 123.43 kB, last modified: 06.12.2009)
        mirror 2 is server online   download online     (file size: 301 Moved Permanently bytes, last modified: 01.01.1970)
        mirror 3 is server online  

If you need more information on how to embed a Java™ applet using XHTML compliant code have a look at the document 04_content_java_embed.php.


last update: 2009-12-30 - 19:51:18.
copyright © by Klaus Burgstaller 2009