code: public double getWidth() {
  		String[] lines = getTextLines();
  		double max = 0;
          for (String line : lines) {
              max = Math.max(max,
                      (double) getMetrics().getTextFontWidth(m_textField, line)
              );
          }
  		return max;
  	}
docs: Returns the width of this score element.
  
  @return The width of this score element.