return fl.getFont();
if (fl==null) return null; else return fl.getFont();
public Font getAppropriateFont(String fontName, int style, String str, int maxWidth, int maxHeight) {  if (graphics==null) return null;  int size = MIN_SIZE;				// find better starting point !!!  FontData fd = getFontData(fontName, size, style);  FontData fl = fd;  while ((size<=MAX_SIZE) &&	  	 (fd.getFontMetrics().getHeight() < maxHeight) &&	  	 (fd.getFontMetrics().stringWidth(str) < maxWidth)) { 	size++; 	fl = fd;	fd = getFontData(fontName, size, style);  }  return fl.getFont();}