Java Swing component that displays a set of hierarchical data as an outline.
JTree
is a class in the javax.swing
package. It is a Swing component that displays a set of hierarchical data as a tree outline. Like most Swing components, it has a model, is highly configurable through the use of renderers, and fires events that can be handled.