Parameters

text
text string to be displayed, default is "RainbowText"
bgcolor
background color in hexadecimal rrggbb format, default is 000000 (black)
fontname
name of font, default is TimesRoman
fontstyle
"B" for bold, "I" for italic, "BI" for both, default is plain
fontsize
size of font, default is 36
sleeptime
milliseconds between text string color updates, default is 100
RainbowText.java

RainbowText.zip (Includes RainbowText.html, RainbowText.java, and RainbowText.class)

Glenn A. Richard
Center for High Pressure Research