{ AbstractButton b = (AbstractButton)c; Dimension d = BasicGraphicsUtils.getPreferredSize(b, gap, b.getText(), b.getIcon(), b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getHorizontalTextPosition(), b.getVerticalTextPosition());  return d; }
{ AbstractButton b = (AbstractButton)c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize (b, defaultTextIconGap + defaultTextShiftOffset); return d; }
    public Dimension getPreferredSize(JComponent c)     {	AbstractButton b = (AbstractButton)c;	Dimension d = BasicGraphicsUtils.getPreferredSize(b, 							  gap,							  b.getText(),							  b.getIcon(),							  b.getVerticalAlignment(),							  b.getHorizontalAlignment(),							  b.getHorizontalTextPosition(),							  b.getVerticalTextPosition());	//	System.out.println("^^^^^^^^^^^^^^^^^^^^^^   BASIC-PREF="+d + ",T="+b.text);	return d;    }