private void update() {
		updateStatus();
		if (isError) {
			setForeground(Colors.FOREGROUND);
			setBackground(ERROR_BACKGROUND_COLOR);
		}
		else if (hasNonDefaultValue()) {
			setForeground(EDITING_FOREGROUND_COLOR);
			setBackground(EDITING_BACKGROUND_COLOR);
		}
		else { // default
			setForeground(Colors.FOREGROUND);
			setBackground(Colors.BACKGROUND);
		}

		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