addNode(new TreeTableItem("Shonda Rhimes","Creator"),parentNode);
addNode(new TreeTableItem("USA","Country"),parentNode);
addNode(new TreeTableItem("English","Language"),parentNode);
TreeSelectionModel selModel = treeComp.getTreeSelectionModel();
selModel.setSelectionMode(TreeSelectionModel.CONTIGUOUS_TREE_SELECTION);
selModel.addSelectionPath(new TreePath(parentNode.getPath())); // Other
treeComp.addEventListener("click",this);
dataModel.addTreeModelListener(this);
selModel.addTreeSelectionListener(this);
this.removeButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("removeId");
removeButton.addEventListener("click",this);
DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)selModel.getSelectionPath().getLastPathComponent();
TreeTableItem selectedItem = (TreeTableItem)selectedNode.getUserObject();
this.itemPrincipalComp = (ItsNatHTMLInputText)compMgr.createItsNatComponentById("itemPrincipalId");
itemPrincipalComp.setText(selectedItem.getPrincipal());
this.itemSecondaryComp = (ItsNatHTMLInputText)compMgr.createItsNatComponentById("itemSecondaryId");
itemSecondaryComp.setText(selectedItem.getSecondary());
this.posComp = (ItsNatHTMLInputText)compMgr.createItsNatComponentById("posId");
posComp.setText(Integer.toString(selModel.getMinSelectionRow()));
this.updateButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("updateId");
updateButton.addEventListener("click",this);
this.insertBeforeButton = (ItsNatHTMLInputButton)compMgr.createItsNatComponentById("insertBeforeId");