code: public void setAsText(String text) throws IllegalArgumentException {
  		for (int i = 0; i < length; i++)
  			if (text.equals(locales[i].getDisplayName())) {
  				locale = locales[i];
  				setValue(locale);
  
  				break;
  			}
  	}
docs: Sets the locale strings as text and invokes setValue( locale ).
  
  @param text
  the locale string text
  
  @throws IllegalArgumentException
  not used