"Quote" Documentation
 

I got the idea for this applet from Ken Arnold's "fortune", a program I have under Linux. Some of the quotes in my file EnQuotes.txt come from there too...

Your HTML document should include something like this:

<APPLET CODEBASE="Java/Quote" CODE="Quote.class" WIDTH=400 HEIGHT=100>
  <PARAM NAME=dataFile VALUE="EnQuotes.txt">
</APPLET>
CODEBASE is only necessary if the HTML file and the file Quote.class are in different folders. CODEBASE represents the path between the HTML file and the file Quote.class. Thus in the above example, the folder containing the HTML file has a sub-directory named Java. This one contains a sub-directory named Quote. This one contains the files Quote.class and EnQuotes.txt.

Here is the list of the parameters recognized by this applet:

<APPLET CODE="Quote.class" WIDTH=400 HEIGHT=100>
  <PARAM NAME=dataFile VALUE="EnQuotes.txt">
  <PARAM NAME=typingDelay VALUE="200">
  <PARAM NAME=crDelay VALUE="2000">
  <PARAM NAME=keySound VALUE="audio/button_2.au">
  <PARAM NAME=spaceSound VALUE="audio/button_1.au">
  <PARAM NAME=returnSound VALUE="audio/return.au">
  <PARAM NAME=fontName VALUE="Helvetica">
  <PARAM NAME=fontStyle VALUE="2">
  <PARAM NAME=fontSize VALUE="24">
  <PARAM NAME=textColor VALUE="FFFFFF">
  <PARAM NAME=bgColor VALUE="0000FF">
</APPLET>
If your browser is compatible with Java, JavaScript and Frames, you can easily test the parameters.


Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
Parameter index 
 

 
Home Page


Last updated September 29, 1997.
Comments and suggestions welcome!
 
Denis NICOLAS, denis.nicolas@iname.com