This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hi, I have a JTree on my GUI, for some reason, each time when a new node added / deleted to/from the tree, I want the whole tree been expanded, that means all nodes in the tree are visible. I found a method public void scrollPathToVisible(TreePath path) in class JTree, but this method only expand one path, all the others are collasped. Is there any method can expand the whole tree? Thanks!