Thought of the Day
This applet will randomly pick a "thought" from a file and display it in a box. You can also click on it to get another thought. A sample file of thoughts are provided, but feel free make up your own.

You gotta have java turned on to see java applets!
The source code

Here are the possible parameters:
<applet code=thought.class width=400 height=33>
<param name=datafile value=thought.txt>
<param name=maxcount value=26>
</applet>

What they mean:
datafile - Name of the file with the thoughts. The file
should contain one thought per line.
maxcount - Number of thoughts in the file
Download thought.zip (contains thought.class,thought.txt,thought.java)











copyright 2010, worldofjon.com