public synchronized void removeInvalidComponent(JComponent component)
public void removeInvalidComponent(JComponent component) { synchronized (invalidComponents)
  public synchronized void removeInvalidComponent(JComponent component)  {    invalidComponents.remove(component);  }