title: Jtree not shown on adding a node!
body: <p>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.</p>
  
  <p><strong>Try 1: I have tried with model.reload()</strong></p>
  
  <pre><code>DefaultTreeModel model = (DefaultTreeModel) (tree.getModel());
  TreePath Path = findByName(tree, new String[]{Globals.CONS_UIAPROJECTS});
  DefaultMutableTreeNode pnode = (DefaultMutableTreeNode) Path.getLastPathComponent();
  model.insertNodeInto(UIAProjectExploreDisplay.nodeProTree, pnode, pnode.getChildCount());
  model.reload();
  </code></pre>
  
  <p><strong>Try 2: I have tried with tree.setModel() too...</strong></p>
  
  <pre><code>DefaultTreeModel model = (DefaultTreeModel) (tree.getModel());
  TreePath Path = findByName(tree, new String[]{Globals.CONS_UIAPROJECTS});
  DefaultMutableTreeNode pnode = (DefaultMutableTreeNode) Path.getLastPathComponent();
  model.insertNodeInto(UIAProjectExploreDisplay.nodeProTree, pnode, pnode.getChildCount());
  
  DefaultTreeModel projectTreeModel = new DefaultTreeModel((DefaultMutabletreeNode) model.getRoot());
  tree.setModel(projectTreeModel);
  </code></pre>
  
  <p>Even then newly added child is not visible. but Its getting added in thr tree. I tested by printing the child.
  Suggest me a solution.</p>