if (changed)
if (sizeChanged)
  public void reshape(int x, int y, int w, int h)  {    boolean changed =       (x != getX())       || (y != getY())       || (w != getWidth())      || (h != getHeight());    if (w != getWidth() || h != getHeight())      sizeChanged = true;    super.reshape(x, y, w, h);    if (changed)      {        damaged = true;      fireStateChanged();  }  }