public static void clearKeyBinding(JComponent component, KeyStroke keyStroke) {
		clearKeyBinding(component, keyStroke, JComponent.WHEN_FOCUSED);
		clearKeyBinding(component, keyStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
	}
Allows clients to clear Java key bindings. This is useful when your
application is using tool-level key bindings that share the same
keystroke as a built-in Java action, such as Ctrl-C for the copy action.
<p>
Note: this method clears the key binding for the
{@link JComponent#WHEN_FOCUSED} and
{@link JComponent#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT} focus conditions.

@param component the component for which to clear the key binding
@param keyStroke the keystroke of the binding to be cleared
@see #clearKeyBinding(JComponent, KeyStroke, int)
Ghidra/Framework/Docking/src/main/java/docking/actions/KeyBindingUtils.java