private void setMaxValueInProgressBar(long max) {
		scaleFactor = computeScaleFactor(max);
		progressBar.setMaximum((int) (max / scaleFactor));
	}
Sets the visibility of the progress icon

@param visible if true, display the progress icon
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskMonitorComponent.java