private void doRequestFocus(DockableComponent dockableComponent) {
		KeyboardFocusManager kfm = KeyboardFocusManager.getCurrentKeyboardFocusManager();
		Window activeWindow = kfm.getActiveWindow();
		if (activeWindow == null) {
			return; // our application isn't focused--don't do anything
		}

		dockableComponent.requestFocus();
		contextChanged();
	}
Requests focus for the component associated with this placeholder.
Ghidra/Framework/Docking/src/main/java/docking/ComponentPlaceholder.java