| Back to other parameters
|
Example 1
Source menu file |
|
Menu source
<?xml version = "1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE Menu PUBLIC "-//Javabase//DTD ToolTipMenu 1.0//EN" "http://www.javabase.co.uk/ToolTipMenu/ToolTipMenu.dtd"> <Menu selecttextcolor="FFAAAA" gap="2"> <Item tooltiptext="1st Tooltip" url="http://www.google.com" name="First\Item"/> <Separator/> <Item tooltiptext="2nd Tooltip" url="http://www.yahoo.com" name="Item"/> </Menu>
|
|
Example 2
Source menu file |
|
Menu source
<?xml version = "1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE Menu PUBLIC "-//Javabase//DTD ToolTipMenu 1.0//EN" "http://www.javabase.co.uk/ToolTipMenu/ToolTipMenu.dtd"> <Menu selecttextcolor="FFFFFF" gap="2"> <Item tooltiptext="1st Tooltip" url="http://www.google.com" name="First\Item"/> <Separator/> <Item tooltiptext="2nd Tooltip" url="http://www.yahoo.com" name="Item"/> </Menu>
|
|
Specifying Colors by RGB values
As in HTML, colors for menus can be specified using their Red,Green and Blue components in hexadecimal notation. These values are written with the following syntax:
"RRGGBB"
RR is red value, GG the green value, and BB the blue value. The best way to go about getting color in this form is to use a graphics program to chose one and then look at it's red, green and blue components.
Color help
Back to other parameters |