{
DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent();
TreeTableItem newItem = (TreeTableItem)node.getUserObject();
newItem.setPrincipal(newPrincipalItem);
newItem.setSecondary(newSecondaryItem);
dataModel.nodeChanged(node); // To notify
}
else getItsNatDocument().addCodeToSend("alert('Bad Position');");
}
else if ((currentTarget == insertBeforeButton.getHTMLInputElement()) ||
(currentTarget == insertAfterButton.getHTMLInputElement()) ||