Jtree also lets you edit data about the nodes, add new nodes and prune. You use the TreeModel interface implemented by DefaultTreeModel to manage your tree data. You change the tree by poking the TreeModel, not by poking the TreeNodes directly. You can also use TreeNodes independent of a display, though most algorithmic tree handling is done with specialised classes.
Note that it is spelled
JTree not J tree.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/jtree.html | J:\mindprod\jgloss\jtree.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.114] | |
| Feedback | You are visitor number 13,908. | |