6
6e
I am trying to expand a Jtree to the newly added node... however I
can't seem to make it happen.
I've tried a number of things which I listed below, all of these were
tried seperately and together, however the Jtree still does not expand
I also tried to use invalidate and repaint and validate to refresh the
screen, nothing seems to happen...
this is what I have tried so far...
this.fireTreeExpanded(new TreePath(mtnNode.getPath()));
this.expandPath(new TreePath(parentNode.getPath()));
this.scrollPathToVisible(new TreePath(mtnNode.getPath()));
any ideas?
can't seem to make it happen.
I've tried a number of things which I listed below, all of these were
tried seperately and together, however the Jtree still does not expand
I also tried to use invalidate and repaint and validate to refresh the
screen, nothing seems to happen...
this is what I have tried so far...
this.fireTreeExpanded(new TreePath(mtnNode.getPath()));
this.expandPath(new TreePath(parentNode.getPath()));
this.scrollPathToVisible(new TreePath(mtnNode.getPath()));
any ideas?