I am importing a tree from another program. But in my new program, I don't want to display every node of the tree. I created a class called SimContainerNode that holds the DefaultMutableTreeNodes of the old tree, and adds some fields such as frequency, and isVisible. When I display the JTree, I only want the nods with isVisible = true to show up. How can I acheive this?
I am currently looking into implementing my own Tree Cell Renderer.
I am currently looking into implementing my own Tree Cell Renderer.