javax.swing.JTree
. You use these classes and interfaces if you want
control over how trees are constructed, updated, and rendered, as well
as how data associated with the tree nodes are viewed and managed.
Note: Most of the Swing API is not thread safe. For details, see Threads and Swing, a section in The Java Tutorial.