private void populateTabs() {
		int availableWidth = getPanelWidth();

		// first try to build tabs to see if they all fit and don't need to show the 
		// hidden values control. If the first pass doesn't fully add all the tabs, need
		// to redo it a second time reserving space for the hidden values control

		if (!buildTabs(availableWidth)) {
			// set the controls hidden count to the hidden count for sizing purposes
			hiddenValuesControl.setHiddenCount(allValues.size() - allTabs.size());
			int hiddenValuesControlWidth = getParentedComponentWidth(hiddenValuesControl);
			buildTabs(availableWidth - hiddenValuesControlWidth);
			hiddenValuesControl.setHiddenCount(allValues.size() - allTabs.size());
			add(hiddenValuesControl);
		}
	}
Returns the value of the tab that generated the given mouse event. If the mouse event
is not from one of the tabs, then null is returned.
@param event the MouseEvent to get a value for
@return the value of the tab that generated the mouse event
Ghidra/Framework/Docking/src/main/java/docking/widgets/tab/GTabPanel.java