Using JTree to Show the Forest: Hierarchical Relationships of Components

  • Robert A. Gibson


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.



Copyright information

© Robert A. Gibson 2015

Authors and Affiliations

  • Robert A. Gibson
    • 1
  1. 1.CAUnited States

Personalised recommendations