private void installMouseListener(Container c, MouseListener listener) {

		c.addMouseListener(listener);
		Component[] children = c.getComponents();
		for (Component element : children) {
			if (element instanceof Container) {
				installMouseListener((Container) element, listener);
			}
			else {
				element.addMouseListener(listener);
			}
		}
	}
Component for representing individual tabs within a {@link GTabPanel}.

@param <T> the type of the tab values
Ghidra/Framework/Docking/src/main/java/docking/widgets/tab/GTab.java