@Override
		public Window getActiveWindow() {

			if (focusOwner == null) {
				return null;
			}

			if (focusOwner instanceof Window) {
				return (Window) focusOwner;
			}
			return SwingUtilities.windowForComponent(focusOwner);
		}
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