private Window getBestParent(Component c) {

		if (c == null) {
			KeyboardFocusManager keyboardFocusManager =
				KeyboardFocusManager.getCurrentKeyboardFocusManager();
			c = keyboardFocusManager.getActiveWindow();
		}

		while (c != null && !(c instanceof Window)) {
			c = c.getParent();
		}

		Window window = (Window) c;
		Dialog modalDialog = WindowUtilities.findModalestDialog();
		if (modalDialog != null) {
			window = modalDialog;
		}
		return window;
	}
Returns the master help set (the one into which all other help sets are merged).
@return the help set
Ghidra/Framework/Docking/src/main/java/docking/help/HelpManager.java