code: public void setText(String value) {
  		this.value = value;
  		if (cursorPos > value.length()) {
  			cursorPos = value.length();
  		}
  	}
docs: Set the value to be displayed in the text field
  
  @param value
  The value to be displayed in the text field