public void reset(boolean hasErrors, boolean stopped, int ticksDone, int maximum) { boolean noChange= fError == hasErrors && fStopped == stopped && fCurrentTickCount == ticksDone && fMaxTickCount == maximum; fError= hasErrors; fStopped= stopped; fCurrentTickCount= ticksDone; fColorBarWidth= scale(ticksDone); fMaxTickCount= maximum; if (! noChange) redraw();
public void reset() { fError= false; fStopped= false; fCurrentTickCount= 0; fMaxTickCount= 0; fColorBarWidth= 0; redraw();
	public void reset(boolean hasErrors, boolean stopped, int ticksDone, int maximum) {		boolean noChange= fError == hasErrors && fStopped == stopped && fCurrentTickCount == ticksDone && fMaxTickCount == maximum;		fError= hasErrors;		fStopped= stopped;		fCurrentTickCount= ticksDone;		fColorBarWidth= scale(ticksDone);		fMaxTickCount= maximum;		if (! noChange)			redraw();	}