private void selectTab(Program p) {
		JPanel tab = runSwing(() -> panel.getTab(p));
		Point point = runSwing(() -> tab.getLocationOnScreen());
		clickMouse(tab, MouseEvent.BUTTON1, point.x + 1, point.y + 1, 1, 0);
		assertEquals(p, getSelectedTabValue());
	}
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