System.out.println("Michael: FieldView.getPreferredSpan: Error");
  public float getPreferredSpan(int axis)  {    if (axis != X_AXIS && axis != Y_AXIS)      throw new IllegalArgumentException();    FontMetrics fm = getFontMetrics();    if (axis == Y_AXIS)      return fm.getHeight();    String text;    Element elem = getElement();    try      {	text = elem.getDocument().getText(elem.getStartOffset(),					  elem.getEndOffset());      }    catch (BadLocationException e)      {	// This should never happen.	text = "";	System.out.println("Michael: FieldView.getPreferredSpan: Error");      }        return fm.stringWidth(text);  }