I regret that this applet does not work in Internet Explorer 5 and perhaps some other browsers. It starts generating but raises an error and does not finish. This is because IE5 does not use an up to date version of java. It you have Java installed on your computer you can download this applet and run it as a java application.
This applet enables you to create images containing text headers. It has been written to generate titles for webpages and it is currently used for all headers on this page. The applet shows several input fields:
-
text: One line of text that you want to be shown.
-
size: The size in points of the text the default value. Good values lie between 10 and 100.
-
color1: the text is apinted in a color fading from color1 on the upper left to color 2 on the lower right.
-
color2: the second color of the text
-
backgroundcolor: the backgroundcolor of the image. If you use a very dark color the shadow may not be visible.
Color can be specified by name (valid names are "black","blue","cyan","darkgray","gray","green",
"lightgray","magenta","orange","pink","red","white" and
"yellow"). They can also be specified by a hexadecimal number (for instance FFFFFF for white) or as three integers between 0 and 255 for the red,green and blue value.
Sourcecode
The program to generate these images can do a lot more effects than used in this demo. It is in fact a complete library for dealing with bitmap images. You can
download
it.
[click here if you see no menu]