protected void updatePathGreyness(TreePath ancestor){
  boolean value=isPathCheckBox(ancestor);
  Object ancestorNode=ancestor.getLastPathComponent();
  if (!isPathCheckBox(ancestor)) {
    addToCheckBoxPathsSet(ancestor);
    return;
  }
}

protected void updatePathGreyness ( TreePath ancestor ) { boolean value = isPathCheckBox ( ancestor ) ; Object ancestorNode = ancestor . getLastPathComponent ( ) ; if ( ! isPathCheckBox ( ancestor ) ) { addToCheckBoxPathsSet ( ancestor ) ; return ; } }
updates the greyness value value for the given path if there are children with different values . note : the greyness and cheking of children must be consistent .
