if (parent == null || info == null) return new Dimension (0, 0);  Insets insets = parent.getInsets(); int width = sumIntArray (info.colWidths) + insets.left + insets.right; int height = sumIntArray (info.rowHeights) + insets.top + insets.bottom; return new Dimension (width, height);
return GetMinSize (parent, info);
    protected Dimension getMinSize (Container parent, GridBagLayoutInfo info)    {	if (parent == null || info == null)	    return new Dimension (0, 0);	Insets insets = parent.getInsets();	int width = sumIntArray (info.colWidths) + insets.left + insets.right;	int height = sumIntArray (info.rowHeights) + insets.top + insets.bottom;	return new Dimension (width, height);    }