if (! dirtyComponents.containsKey(component)) return false; return component.isCompletelyDirty;
boolean retVal = false; if (dirtyComponents.containsKey(component)) { Rectangle dirtyRegion = (Rectangle) dirtyComponents.get(component); retVal = dirtyRegion.equals(SwingUtilities.getLocalBounds(component)); } return retVal;
  public boolean isCompletelyDirty(JComponent component)  {    if (! dirtyComponents.containsKey(component))      return false;    return component.isCompletelyDirty;  }