if (prefSize == null) if (peer == null) return new Dimension(width, height); else prefSize = peer.getPreferredSize(); return prefSize;
return preferredSize();
  public Dimension getPreferredSize()  {    if (prefSize == null)      if (peer == null)	return new Dimension(width, height);      else         prefSize = peer.getPreferredSize();    return prefSize;  }