Dimension rightPref = center.getMinimumSize(); dim.width += rightPref.height; Dimension bottomPref = center.getMinimumSize();
Dimension rightPref = right.getMinimumSize(); dim.width += rightPref.width; Dimension bottomPref = bottom.getMinimumSize();
		public Dimension minimumLayoutSize(Container parent)		{			Dimension dim = new Dimension();			Insets insets = getInsets();			dim.width = insets.left + insets.right;			dim.height = insets.top + insets.bottom;			Dimension centerPref = center.getMinimumSize();			dim.height += centerPref.height;			dim.width += centerPref.width;			Dimension rightPref = center.getMinimumSize();			dim.width += rightPref.height;			Dimension bottomPref = center.getMinimumSize();			dim.height += bottomPref.height;			return dim;		}