protected static void selectTabIfAvailable(final DockableComponent dockableComponent) {
		Container parent = (dockableComponent != null) ? dockableComponent.getParent() : null;
		if (parent instanceof JTabbedPane) {
			final JTabbedPane tabbedPane = (JTabbedPane) parent;
			runSwing(() -> tabbedPane.setSelectedComponent(dockableComponent), true);
		}
	}
If this dockable component is in a tabbed pane then select the associated tab.
@param dockableComponent the dockable component of interest
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java