private long computeScaleFactor(long value) {
		long scale = 1;
		while (value > Integer.MAX_VALUE) {
			value /= 10;
			scale *= 10;
		}
		return scale;
	}
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