Project Notes
Project: Tree Control Sample
Author: JBuilder Team
Company: Inprise/Borland
Description: Example showing how to use a JTree.
This JTree was created so that:
- Nodes in the tree are expanded and collapsed by clicking the folder icons.
- An item in the tree can be edited by clicking it three times.
- When an item in the tree is selected, the type of item is displayed
in the JEditorPane to the right of the tree.
- The display of the icon displayed for the leaf node (a dot by default)
can be changed by selecting the JMenuItem, Change Icon.
To run this project, right-click Application1.java
in the project pane and choose Run.