Next:
List v. Trees
Up:
Human Computer Interaction (Part
Previous:
JList important methods
Trees --
JTree
List v. Trees
Practical Usage of Tress in Interfaces
A basic JTree example
Adding new tree items
Custom data models
Custom rendering
Editing tree nodes
Listening for tree actions
Listening for tree selections
Listening for tree expansions
Practical Programming of
JTree
s
Hiding the root node
Expanding and collapsing the tree
Selecting and deselecting nodes
JTree
Class Information
Dave Marshall
4/14/1999