| # 100% Free Tree Java Applet
### Step 2 - Create the Data File The Free Java Tree Applet reads all the Node (item) data from a plain text file - nodedata.txt file. Each node is defined on a separate line and is made up of the following elements,
Node ID | Each node must be given a unique ID. This ID can be made up of alphanumeric characters and be of any length.
ID of the Parent Node | This element specifies the ID of the Parent Node for this item. If this is a top level node then set this value to 'root'.
Node Text | The text to be displayed on the tree for this node.
Text Color | The Color of the text. For information on defining colors click here.
Icon Image (Collapsed State) | The Image ID of the icon to be displayed when this node is in it's collapsed state. This also represents the icon to be displayed if this node has no sub-nodes. See "imageN" parameter in the Applet Parameters section.
Icon Image (Expanded State) | The Image ID of the icon to be displayed when this node is in it's expanded state. See "imageN" parameter in the Applet Parameters section
Icon Image (Mouseover State) | The Image ID of the icon to be displayed when the mouse pointer passes over this node. See "imageN" parameter in the Applet Parameters section
Link URL | The URL Link to be executed when a user mouse clicks on this node.
Target Frame/Window for the Link | The name of the Frame or Window within which to display the URL upon a mouse click.
The values for each of these elements should be separated by a "|" character. If you do not require a value for any element (eg. expanded Icon Image) then simply insert a single space character for the value (leaving an element empty will cause an error). With the Free Tree a maximum of 100 nodes may be defined. If you require more than this then please take a look at the Advanced Tree Explorer which can handle an unlimited number of nodes. Rather than create your own data file from scratch, we recommend that you take a copy of the "nodedata.txt" file in the Examples directory and modify this to suite your requirements. Please note, Filenames are case sensitive so please ensure that the data file name remains as "nodedata.txt" and not "NodeData.txt" or "NODEDATA.TXT". Next Step - Uploading the Files >> | Getting Started Documentation Example Support More Freeware Advanced Tree Explorer click here!