Swing trees display hierarchical data by using a well-known paradigm of folders and leaf items. The most widely used tree component is undoubtedly Windows Explorer, which contains a tree component for navigating directories.
Like tables, trees are made up of a number of classes and interfaces defined in their own package—the
swing.tree package. The tree component is represented by the
JTree class, ...