setSize(width, height);
if (this.width == width && this.height == height) return; invalidate (); this.width = width; this.height = height; if (peer != null) peer.setBounds (x, y, width, height);
  public void resize(int width, int height)  {    setSize(width, height);  }