private static KeyEventDispatcher getOverriddenKeyEventDispatcher() {

		// Note: our custom key event dispatcher has package access, so we cannot refer to 
		//       it directly
		try {
			Class<?> clazz = Class.forName("docking.KeyBindingOverrideKeyEventDispatcher");
			Object customDispatcher = TestUtils.getInstanceField("instance", clazz);
			if (customDispatcher == null) {
				return null; // not installed
			}

			//
			// Dependency Inject our own focus provider so that we can force the event 
			// dispatcher to deliver events to our component
			// 
			TestUtils.invokeInstanceMethod("setFocusOwnerProvider", customDispatcher,
				FocusOwnerProvider.class, focusProvider);

			return (KeyEventDispatcher) customDispatcher;
		}
		catch (ClassNotFoundException e) {
			Msg.error(TestKeyEventDispatcher.class, "Unable to find the system KeyEventDispatcher",
				e);
			return null;
		}
	}
Uses the system-overridden {@link KeyEventDispatcher} to send the event.

@param event the event
@return false if the event was not handled by this class and should continue to be
        processed; true if the event was handled and no further processing is needed
Ghidra/Framework/Docking/src/main/java/docking/test/TestKeyEventDispatcher.java