public void setSize (Dimension d) { setSize(d.width, d.height); }
public void setSize(int width, int height) { this.width = width; this.height = height; if (peer != null) peer.setBounds(x, y, width, height); }
  public void setSize (Dimension d)  { setSize(d.width, d.height); }