public void showProgressIcon(final boolean showIcon) {
		if (showIcon == showingIcon) {
			return;
		}
		Runnable r = () -> {
			if (showIcon) {
				activeProgressPanel.add(imageLabel, BorderLayout.EAST);
			}
			else {
				activeProgressPanel.remove(imageLabel);
			}
			showingIcon = showIcon;
		};
		if (SwingUtilities.isEventDispatchThread()) {
			r.run();
		}
		else {
			try {
				SwingUtilities.invokeAndWait(r);
			}
			catch (InterruptedException e) {
				// shouldn't happen
			}
			catch (InvocationTargetException e) {
				Msg.showError(this, null, "Error in Progress icon", "error", e);
			}
		}
	}
Show or not show the progress icon (spinning globe) according to
the showIcon param.
@param showIcon true to show the icon
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/GProgressBar.java