Example 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 TreeMenu3D 1.0//EN" "http://www.javabase.co.uk/TreeMenu3D/TreeMenu3D.dtd">
<Menu textcolor="0000AA" tooltiptext="Tooltip"
name="First\Item"
gap="4">
<Item url="http://news.bbc.co.uk/"/>
<SubMenu>
<Item tooltiptext="Go Search!" url="http://www.google.com/"/>
<Item tooltiptext="Tooltip" url="http://www.yahoo.com/"/>
</SubMenu>
<Item url="http://java.sun.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 TreeMenu3D 1.0//EN" "http://www.javabase.co.uk/TreeMenu3D/TreeMenu3D.dtd">
<Menu textcolor="0000AA" tooltiptext="Tooltip"
name="Second\Item"
gap="4">
<Item url="http://news.bbc.co.uk/"/>
<SubMenu>
<Item tooltiptext="Go Search!" url="http://www.google.com/"/>
<Item tooltiptext="Tooltip" url="http://www.yahoo.com/"/>
</SubMenu>
<Item url="http://java.sun.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
All Rights Reserved
Edward Smith
1999-2005. Java™ and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.