Dimension p = super.getPreferredSize(); return p;
if (prefSize == null) prefSize = super.getPreferredSize();  if (minimumSize != null && prefSize != null && (minimumSize.width > prefSize.width || minimumSize.height > prefSize.height)) prefSize = new Dimension(Math.max(minimumSize.width, prefSize.width), Math.max(minimumSize.height, prefSize.height)); return prefSize;
	public Dimension getPreferredSize()	{    if (preferredSize != null)      return preferredSize;		if (ui != null)		{			Dimension s = ui.getPreferredSize(this);			if (s != null)				return s;			}		Dimension p = super.getPreferredSize();		return p;	}