code: protected int getTextFontWidth(byte textType, String text) {
  		if (text == null)
  			return 0;
  		FontMetrics fontMetrics = g2.getFontMetrics(getTextFont(textType));
  		return fontMetrics.stringWidth(text);
  	}
docs: Returns width of string rendered in the textType font.
  
  @param textType
  one of {@link abc.ui.scoretemplates.ScoreElements} constants
  @param text
  The text we want to know its width
  @return the width of a string in this font used for this score metrics