Using JTree to Show the Forest: Hierarchical Relationships of Components
This chapter is all about building and using trees to display a hierarchical relationship between elements. Trees allow you to convey a specific relationship between different pieces of information. For example, this kind of structure is great for showing something like an organizational chart. By the time you’re through with this chapter, you should not only be able to use trees in your own applications, but you will also more aware of the capabilities and limitations of this useful structure.