I am trying to create a structure of type Tree, I have a root node, and then I can add children to the root directory of the node and continue the process. I'm not interested in sorting. All I want is a tree structure since I create an Org Chart.
Is there an exisitng java library that will allow me to add a root node, a child node or, for example, get a child of a node from a tree and then add children to these nodes. Or maybe get the whole leaf node from the tree.
Am I trying to avoid creating one on my own to save time? Any libraries you can offer will be very helpful.
Note. I do not use Swing or AWT components.
source
share