static void requestFocus(Component component) {

		if (component.hasFocus()) {
			return;
		}
		if (pendingRequestFocusComponent != null) {
			pendingRequestFocusComponent = null; // only do it once so that we don't get stuck in this state
			return;
		}
		pendingRequestFocusComponent = component;
		pendingRequestFocusComponent.requestFocus();
	}
Invoked by associated docking windows when they become active or inactive

@param window the active window
@param active true signals that this DockingWindowManager has become active
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java