public boolean setText(String text) {
		String oldText = textField.getText();
		textField.setText(text);
		return !oldText.equals(textField.getText());
	}
Sets the field to the given text. The text must be a properly formated string that is a value
that is valid for this field. If the field is set to not allow "0x" prefixes, then the input
string cannot start with 0x and furthermore, if the field is in decimal mode, then input
string cannot take in hex digits a-f. On the other hand, if "0x" prefixes are allowed, then
the input string can be either a decimal number or a hex number depending on if the input
string starts with "0x". In this case, the field's hex mode will be set to match the input
text. If the text is not valid, the field will not change.

@param text the value as text to set on this field
@return true if the set was successful
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/IntegerTextField.java