I have a problem using the method getNextLeaf(). I have a tree where I have a drag'n'drop solution. After I have removed a leaf(doing dnd), I reload the tree so it will have fresh data, and at that point, I would like to be able to scroll back to the position of the leaf where I was when dragging and dropping the leaf.
Problem: nodeSelectUnit.getNextLeaf() always returns null. You can use getNextLeaf on a leaf right?
I believe that I have the model updated so that shouldn't be the problem. According to java-doc, null should only be returned if it is the last leaf in the node, but that is not the case here.