@Override
	public void setMaximum(long max) {
		this.maxProgress = max;
		if (progress > this.maxProgress) {
			progress = max;
		}
		startUpdateTimer();
	}
Constructor

@param includeTextField if true, the dialog can display a status progressMessage with progress details
@param includeCancelButton if true, a cancel button will be displayed
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskMonitorComponent.java