Bug 31769 progress monitor indication incorrect after resizing [JUnit]
20030211 i'm running a test class with 95 tests i have junit as a fast view in the middle of it running, i resized the view a bit, which made the progress bar jump immediately to 100% and stay there (the numbers were still ticking correctly) don't know if it's junit or swt
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitProgressBar.java
});
		addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e){
			}
		});
	}
	public void setMaximum(int max) {
		fMax= max;
	}
		
	public void reset() {
		fError= false;
		fSelection= 0;
		fX= 0;
		fMax= 0;
		redraw();
	}
	
	private void paintStep(int startX, int endX) {
		GC gc = new GC(this);	
		setStatusColor(gc);
		Rectangle rect= getClientArea();
		startX= Math.max(1, startX);
		gc.fillRectangle(startX, 1, endX-startX, rect.height-2);
		gc.dispose();		
	}
	private void setStatusColor(GC gc) {
		if (fError)
			gc.setBackground(getDisplay().getSystemColor(SWT.COLOR_RED));
		else