Bug 20556 ImageAnalyzer example - bug in the set background
build 20020617 1 - Run the ImageAnalyzer found on org.eclipse.swt.examples. 2 - In the Background Combo choice a different Color 3 - the canvas on center will not changed its background color, only the scrollbar will. The bug is on examples, though this is working properly on Windows. A possible fix is remove imageCanvas.fillRectangle(...) call from the changeBackground() method. Maybe we should fix this to F4..
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
displayImage(imageDataArray[imageDataIndex]);
		}	
	}
	void displayImage(ImageData newImageData) {
		if (incremental && incrementalThread != null) {
			
			synchronized (this) {
				incrementalEvents = null;
			}
			
			
			while (incrementalThread.isAlive()) {
				if (!display.readAndDispatch()) display.sleep();
			}
		}
					
		
		if (image != null) image.dispose();
		try {
			
			image = new Image(display, newImageData);
			imageData = newImageData;
		} catch (SWTException e) {
			showErrorDialog(bundle.getString("Creating_from") + " ", currentName, e);
			image = null;
			return;
		}
		
		String string = createMsg(bundle.getString("Analyzer_on"), currentName);
		shell.setText(string);