Skip to content
Advertisement

Tag: jtree

Jtree not shown on adding a node!

I have a static jtree in a scrollpane. And now iam trying to add child to jtree, it got added successfully. Now, the added node is not visible in the jtree. Try 1: I have tried with model.reload() Try 2: I have tried with tree.setModel() too… Even then newly added child is not visible. but Its getting added in thr

Advertisement