Is there a better way to test JTree node expanded or not?
- by waiting
I want to find a method like isNodeExpanded() to check if a given JTree node is expanded or not, but I can not find it.
I know I can do this by tracking the node expansion with the TreeExpansionListener. Is there a better way?