@Override
  public Rectangle getDirtyRegion(JComponent aComponent) {
    checkThreadViolations(aComponent);
    return super.getDirtyRegion(aComponent);
  }
@Override
  public Rectangle getDirtyRegion(JComponent aComponent)