synchronized (this)
synchronized (dirtyComponents)
  public void markCompletelyClean(JComponent component)  {    synchronized (this)      {    dirtyComponents.remove(component);  }    component.isCompletelyDirty = false;  }