5 Replies Latest reply: Feb 13, 2013 5:40 AM by walterln RSS

    how to update jtree after removing or adding new node?

      after removing the nodes from jtree , nodes are still there but with no dotted lines.
      i think my model is not updated properly or jtree is not getting notified properly.

      Im using DefaultTableModel and my nodes are of user class which extends DefaultMutableTreeNode Class.

      i tired method:


      but nothing is working properly. nodes are still there but only branch lines (dotted lines) are gone.

      any suggestions!!