tree = new DOMDocumentTree
(root, new DOMViewerDOMDocumentTreeController());
tree.setCellRenderer(new NodeRenderer());
tree.putClientProperty("JTree.lineStyle", "Angled");
// Add the listeners to DOMDocumentTree
tree.addListener(new DOMDocumentTreeAdapter() {
public void dropCompleted(DOMDocumentTreeEvent event) {
DropCompletedInfo info = (DropCompletedInfo) event
.getSource();