DOWNLOAD APPLET |
Example
===========<param name = "fgcolor" value = "#FFFFFF">
<param name = "bgcolor" value = "#000000">
<param name = "filename" value = "birthday.txt">
<param name = "font" value = "Serif">
<param name = "size" value = "12">
<param name = "alignment" value = "center">
<param name = "stringone" value = "We are celebrating these birthday('s) today ">
<param name = "stringtwo" value = " , CONGRATULATIONS !!">
<param name = "stringnomatch" value = " No cake today folks!">
<param name = "stringdelimiter" value = " *** ">
Note
===========
When using leading or trailing blank spaces instringone
ofstringtwo
orstringnomatch
orstringdelimiter
, make sure you use instead of just spaces
The parameters
===========
fgcolor the backgroundcolor for the applet bgcolor the fontcolor filename the filename for teh textfile this file has to be in the same directory as the javaclass file is. font The fonttype. 3 different types can be chosen
"Serif", "SansSerif" and "Monospaced"
(Make sure you get the spelling identical like above)size The fontsize.
Like "8", "12", etcalignment The alignment of the text int the Applet.
So this is not the alignment of the applet itself!
value can be "left", "center", or "right"stringone The string of text that goes in front of the names/messages
Like "Today, we are celebrating:"
Read the note on blank spaces!stringtwo The string of text that goes behind the names/messages
Like "Congratulations to all of you!"
Read the note on blank spaces!stringnomatch The string of text that shows when there is no name/message to show today
Like "No cake today folks!"
Read the note on blank spaces!stringdelimiter The string of text that goes between the names/messages
When there are more names/messages to show Like " & ", or " *** "
Read the note on blank spaces!
The Textfile
===========
The textfile containing dates and messages should be formatted like this
DayOfMonth folowed by a "-" followed by MonthofYear then a TAB and then name/message
every line contains a date and a name/message
empty lines should be avoided
example:
11-1 Michael Knight
13-01 Andy Warhol
01-12 Joris Bots
23-2 Jacques Chirac
Notice that leading zero's are not a problem; 01-01 is just as good as 1-1
An example-textfile is included in the .zip
![]()
![]()