protected void firePathChanged(TreePath path){
  Object node=path.getLastPathComponent();
  TreePath parentPath=path.getParentPath();
  if (parentPath == null) {
    fireChildrenChanged(path,null,null);
  }
 else {
    Object parent=parentPath.getLastPathComponent();
    fireChildChanged(parentPath,getIndexOfChild(parent,node),node);
  }
}

protected void firePathChanged ( TreePath path ) { Object node = path . getLastPathComponent ( ) ; TreePath parentPath = path . getParentPath ( ) ; if ( parentPath == null ) { fireChildrenChanged ( path , null , null ) ; } else { Object parent = parentPath . getLastPathComponent ( ) ; fireChildChanged ( parentPath , getIndexOfChild ( parent , node ) , node ) ; } }
call when the path itself has changed , but no structure changes have occurred .
