Differences between CrazyText and NervousText:
Name | Type | Description | Default |
---|---|---|---|
text | string | text to be displayed | CrazyText |
delay | int | milliseconds between updates | 100 |
delta | int | craziness factor; max pixel offset | 5 |
hgap | int | horizontal spacing between chars | 0 |
hspace | int | extra spacing on left and right | 0 |
vspace | int | extra spacing on top and bottom | 0 |
clear | boolean | clear background on update | false |
cycle | string | color changes: whole|char|none | whole |
fontName | string | font name | TimesRoman |
fontSize | int | font size | 36 |
fontBold | boolean | font should be bold | true |
fontItalic | boolean | font should be italic | false |
To get this... | Cut & Paste this... |
---|---|
<applet code="CrazyText.class" width=136 height=37> <param name=text value="CrazyText"> <param name=delay value="100"> <param name=delta value="5"> <param name=hgap value="5"> <param name=clear value="true"> <param name=cycle value="char"> <param name=fontName value="Helvetica"> <param name=fontSize value="18"> <param name=fontBold value="false"> <param name=fontItalic value="false"> </applet> |
|
<applet code="CrazyText.class" width=136 height=36> <param name=text value="CrazyText"> <param name=delay value="100"> <param name=delta value="5"> <param name=hgap value="5"> <param name=clear value="true"> <param name=cycle value="whole"> <param name=fontName value="TimesRoman"> <param name=fontSize value="18"> <param name=fontBold value="false"> <param name=fontItalic value="true"> </applet> |
|
<applet code="CrazyText.class" width=136 height=36> <param name=text value="CrazyText"> <param name=delay value="100"> <param name=delta value="5"> <param name=hgap value="5"> <param name=clear value="true"> <param name=cycle value="none"> <param name=fontName value="TimesRoman"> <param name=fontSize value="18"> <param name=fontBold value="true"> <param name=fontItalic value="false"> </applet> |
|
<applet code="CrazyText.class" width=97 height=32> <param name=text value="CrazyText"> <param name=delay value="500"> <param name=delta value="2"> <param name=hgap value="0"> <param name=clear value="false"> <param name=cycle value="whole"> <param name=fontName value="Helvetica"> <param name=fontSize value="18"> <param name=fontBold value="true"> <param name=fontItalic value="false"> </applet> |
|
<applet code="CrazyText.class" width=87 height=28> <param name=text value="CrazyText"> <param name=delay value="500"> <param name=delta value="0"> <param name=hgap value="0"> <param name=clear value="false"> <param name=cycle value="whole"> <param name=fontName value="Helvetica"> <param name=fontSize value="18"> <param name=fontBold value="false"> <param name=fontItalic value="false"> </applet> |
Shift-click the links in the table below to download.
Filename | Bytes | Requires |
---|---|---|
CrazyText.java | 2976 | CrazyLabel.java |
CrazyLabel.java | 4692 | |
CrazyLabelExample.java | 684 | CrazyLabel.java |
CrazyText.class | 3425 | CrazyLabel.class |
CrazyLabel.class | 4410 | |
CrazyLabelExample.class | 1121 | CrazyLabel.class |
Crazy20.zip (above + this doc) | 11K |
Questions, comments, suggestions, bug reports and job offers are welcome.