This section discuss four special tags related to the applet window and progress bar colors and the message displayed in the applet window:
Note:These tags currently work only with Netscape browsers. In the future they will be made to work with Internet Explorer as well. |
BOXBGCOLOR
By default the applet window background color is gray. BOXCOLOR
can be used to specify a different background color. The format is as follows:
BOXCOLOR="<value>"
where <value>
may be:
Color
from java.awt.Color
, or r,g,b
where r
, g
, and b
are integers in the range of 0-255
that would render an opaque
standared RGB (sRGB) color in the Color
constructor Color(int
r, int g, int b)
.Examples: BOXCOLOR="cyan"
, BOXCOLOR="111,222,145"
BOXFGCOLOR
By default the applet window foreground color is black. (The applet window
foreground color is used for messages that appear in the window and for the
border of the progress bar.) BOXFGCOLOR
can be used to specify
a different foreground color. The color values are the same as described above.
PROGRESSCOLOR
By default the progress bar fill color is purple. PROGRESSCOLOR
can be used to specify a different fill color. The color values are the same
as described above.
BOXMESSAGE
By default the message appearing in the applet window are provided by the Plug-in.
BOXMESSAGE
can be used to overrride the message provided by the
Plug-in. The format is as follows:
BOXMESSAGE="<Any desired message as String>"
Note that if no String is supplied between the quotes ("")
,
then no message will be displayed in the applet window.