public void setInputInvalid() {
		inputBytesTA.setError();
		if (selectionModeWidget.getInputMode() == InputMode.BINARY) {
			errorMsg = ERROR_MSG_BINARY_INPUT;
		}
		else {
			errorMsg = ERROR_MSG_HEX_INPUT;
		}
	}
Flags the given string as invalid input
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/InsertBytesWidget.java