private void updateStatus() {
		Status oldStatus = currentStatus;
		if (isError) {
			currentStatus = Status.INVALID;
		}

		else if (hasNonDefaultValue()) {
			currentStatus = Status.CHANGED;
		}
		else {
			currentStatus = Status.UNCHANGED;
		}

		if (oldStatus != currentStatus) {
			textEntryStatusChanged(currentStatus);
		}
	}
Returns true if the contents of this field are invalid, as determined by the InputValidator.
@return true if the contents of this field are invalid, as determined by the InputValidator.
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/GFormattedTextField.java