return dims.width;
if (axis == SwingConstants.HORIZONTAL) size = dims.width;
    int minimumSizeOfComponent(int index)    {      Dimension dims = components[index].getMinimumSize();      if (dims != null)	return dims.width;      else	return 0;    }