Javabase LogoExample of changing parameter name
  Home
  Applets
    Menus
    Site Mapping
    Scrollers
    FX Menus
    Image FX
  FAQ
  Register
  Contact
Back to other parameters

 

Example 1
Source menu file
Javabase Applet
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 name="First\Item" gap="2">
   <Item tooltiptext="1st Tooltip" url="http://www.google.com"/>
   <Separator/>
   <Item tooltiptext="2nd Tooltip" url="http://www.yahoo.com"/>
</Menu>

 

Example 2
Source menu file
Javabase Applet
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 name="Second\Item" gap="2">
   <Item tooltiptext="1st Tooltip" url="http://www.google.com"/>
   <Separator/>
   <Item tooltiptext="2nd Tooltip" url="http://www.yahoo.com"/>
</Menu>
Multi-line String
This parameter allows you to supply text with optional line breaks. Line breaksshould be indicated with a double backslash: "\".

 

For example if this value is set to "Line 1\Line2" then the text will appearlike this:

 

Line1

 

Line2

 

Notice that the accompanying justification parameter can be used to specifyhow these lines of text are aligned

 

Back to other parameters