private synchronized void update() {
		boolean changed = false;
		if (message != null) {
			doSetMessage(message);
			message = null;
			changed = true;
		}
		if (progress != lastProgress) {
			doSetProgress(progress);
			lastProgress = progress;
			changed = true;
		}
		if (!changed) {
			updateTimer.stop();
			isTimerRunning = false;
		}
	}
Determines and sets the preferred size of this panel.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/PhaseProgressPanel.java