}
  public String bestFit( int width, FontMetrics fm) {    if ( longText != null && fm.stringWidth(longText) <= width )      return longText;    else if ( shortText != null && fm.stringWidth(shortText) <= width )      return shortText;    else      return null;  }