private void updateKeyStroke(KeyStroke ks) {
		clearInfoPanel();

		DockingActionIf action = getSelectedAction();
		if (action == null) {
			statusLabel.setText("No action is selected.");
			return;
		}

		ToolActions toolActions = (ToolActions) tool.getToolActions();
		String errorMessage = toolActions.validateActionKeyBinding(action, ks);
		if (errorMessage != null) {
			actionBindingPanel.clearKeyStroke();
			statusLabel.setText(errorMessage);
			return;
		}

		String selectedActionName = action.getFullName();
		if (setActionKeyStroke(selectedActionName, ks)) {
			showActionsMappedToKeyStroke(ks);
			tableModel.fireTableDataChanged();
			changesMade(true);
		}
	}
Processes KeyStroke entry from the text field.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/dialog/KeyBindingsPanel.java