@SuppressWarnings("unchecked")
	private Program doOpenProgram(Program p, boolean makeCurrent) {
		runSwing(() -> {
			int programState =
				makeCurrent ? ProgramManager.OPEN_CURRENT : ProgramManager.OPEN_VISIBLE;
			pm.openProgram(p, programState);
			panel = findComponent(tool.getToolFrame(), GTabPanel.class);

			// don't let focus issues hide the popup list
			panel.setIgnoreFocus(true);
			panel.setShowTabsAlways(true);
		});
		waitForSwing();
		return p;
	}
Tests for the plugin that manages the tab for multiple open programs.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/progmgr/MultiTabPluginTest.java