@Override
  public synchronized void addInvalidComponent(JComponent invalidComponent) {
    checkThreadViolations(invalidComponent);
    super.addInvalidComponent(invalidComponent);
  }
@Override
  public synchronized void addInvalidComponent(JComponent invalidComponent)