private void processKeyStroke(KeyStroke ks, boolean notify) {
		ksName = null;

		currentKeyStroke = ks;

		// Clear entry if enter or backspace
		if (ks != null) {
			char keyChar = ks.getKeyChar();
			if (!Character.isWhitespace(keyChar) &&
				Character.getType(keyChar) != Character.DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE) {
				ksName = KeyBindingUtils.parseKeyStroke(ks);
			}
		}

		if (notify) {
			listener.processEntry(ks);
		}
	}
Clears the state of this class and notifies this client.  This effectively allows for the
programmatic setting of the keystroke in use to be null, or in the 'no keystroke set' state.
Ghidra/Framework/Docking/src/main/java/docking/KeyEntryTextField.java