@Override
	public void initialize(long max) {

		if (max <= 0) {
			return;
		}

		monitorComponent.initialize(max);
		if (!supportsProgress) {
			supportsProgress = true;
			setIndeterminate(false);
		}

		// Note: it is not clear why we only wish to show progress if the monitor is not
		// visible.  This seems wrong.   If someone knows, please update this code.
		//if (!monitorComponent.isShowing()) {
		installProgressMonitor();
		//}
	}
Returns true if this dialog was ever made visible
@return true if shown
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskDialog.java