public void treeNodesChanged(TreeModelEvent e){
  TreePath path=e.getTreePath();
  updateSubTreeGreyness(path);
  updateAncestorsGreyness(path);
}

public void treeNodesChanged ( TreeModelEvent e ) { TreePath path = e . getTreePath ( ) ; updateSubTreeGreyness ( path ) ; updateAncestorsGreyness ( path ) ; }
updates the tree greyness in case of nodes changes .
