Ready-made Java Applets
 
On this page you will find some Java Applets which I have gathered from various Web sources which you can customize for your own use.  You do not need to know how to write programs in Java to be able to use these Applets.  You just add some HTML code to your Web Page to run the Applets using parameters which you supply.
 
 
The banner with the moving balls comes from Javaland, where you will find explanations and several quite different variations on this banner.
 
The RainbowText banner at the top of this page can be found at The Java Boutique where you will find many other Java examples.  The program was written by Glenn Richard.
 
The CrazyText banner below by Patrick Taylor can be varied in a number of ways.
Full information on this applet can be found in the file Crazy23a.zip.
 
 
This is another variation of CrazyText.
 
 
 
To add banners like these to your Web Pages:
  
You must add some instructions to the HTML coding for your Web Page to run the Java Applet, supplying parameters of your own choosing. 

For example, to add the rainbow banner shown at the top of this page to your Web Page, include the following text within the body of your HTML document, changing the message in the banner text to one of your own choosing, and using a width that will fit your message. 
 

     <APPLET code="RainbowText.class" width=470 height=40> 
     < PARAM name=text value="Webbits Rainbow Magic" > 
     < PARAM name=fontname value="Arial"> 
     <PARAM name=fontstyle value="I"> 
     <PARAM name=sleeptime value="100"> 
     <PARAM name=fontsize value="42"> 
     </APPLET > 
    
 Note:  To add a frame around the rainbow banner like the one you see above, use HTML to place the banner inside a table with a border-line width of 6 pixels. 
 
Place a copy of the Java program, (the file with the .class filename extension) into the same subdirectory as your HTML file. 

The .class file may be downloaded from its source subdirectory on the Web using FTP, or it may be supplied to you within the documentation. 

 
 
 
 
The scrolling Ticker Tape banner shown here was included in "Java How to Program" (First Edition) by  Deitel and Deitel (Prentice Hall, 1997)  and is also available on the Web.
   
 The banners used here have been provided by their owners, at no cost, for use by others.
 
Copyright © 1997 Margaret Brown
 
 
   WEBBITS Home    Back to WEBBITS First Java Page