public JComponent getToolBar() {
		// UNUSUAL CODE ALERT
		// We are trying to make this method thread safe without using synchronization.
		// Synchronizing the method results in possible deadlock with Swing's treeLock
		JComponent localToolBar = toolBar;
		if (localToolBar == null) {
			localToolBar = buildToolbar();
			toolBar = localToolBar;
		}
		return localToolBar;
	}
Returns a component to be used as a toolbar.
@return the toolbar component.
Ghidra/Framework/Docking/src/main/java/docking/menu/ToolBarManager.java