public void selectTab(T value) {
		if (value != null && !allValues.contains(value)) {
			throw new IllegalArgumentException(
				"Attempted to set selected value to non added value");
		}
		closeTabList();
		highlightedValue = null;
		selectedValue = value;
		rebuildTabs();
		selectedTabConsumer.accept(value);
	}
Makes the tab for the given value be the selected tab.
@param value the value whose tab is to be selected
Ghidra/Framework/Docking/src/main/java/docking/widgets/tab/GTabPanel.java