Tree Events: Selection Changes
The TreeSelectionEvent Class lets us catch:
changes in Tree selection
public Object cloneWithSource(Object newSource);
public TreePath getPath(); /* also getPaths() */
public TreePath getNewLeadSelectionPath();
public TreePath getOldLeadSelectionPath();
public boolean isAddedPath();
public boolean isAddedPath(TreePath path);
The TreeModelListener interface imposes one methods:
public void valueChanged(TreeSelectionEvent e);