of.getModel().insertNodeInto(kid, parent, index);
of.getTree().expandPath(new TreePath(of.getModel().getPathToRoot(parent)));
}else if (this._component instanceof JTree){
JTree jt = (JTree)this._component;
DefaultTreeModel tm = ((TreeViewModel)jt.getModel());
tm.insertNodeInto(kid, parent, index);
// JG: Don't expand here as it screws up the JTree. Window builder needs to
// issue ExpandNode.expandOpenNodes after all inserts have been done.
// if(kid.getIsOpened()){
// NodeExpand.expandNode(jt, kid);