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 IconTreeMenu 1.0//EN" "http://www.javabase.co.uk/IconTreeMenu/IconTreeMenu.dtd">
<Menu textcolor="0000AA" folderopen="folder_open.gif" tooltiptext="Tooltip"
name="First\Item"
mouseovercolor="AAAAFF" icon="file.gif" folder="folder.gif">
<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/"/>
<Item/>
</Menu>
Example 2
Source menu file
Javabase Applet
Menu source
<?xml version = "1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Menu PUBLIC "-//Javabase//DTD IconTreeMenu 1.0//EN" "http://www.javabase.co.uk/IconTreeMenu/IconTreeMenu.dtd">
<Menu textcolor="0000AA" folderopen="folder_open.gif" tooltiptext="Tooltip"
name="Second\Item"
mouseovercolor="AAAAFF" icon="file.gif" folder="folder.gif">
<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/"/>
<Item/>
</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.