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
/*
	 * Return a String describing the specified disposal method.
	 */
	static String disposalString(int disposalMethod) {
		switch (disposalMethod) {
			case SWT.DM_FILL_NONE: return bundle.getString("None_lc");
			case SWT.DM_FILL_BACKGROUND: return bundle.getString("Background_lc");
			case SWT.DM_FILL_PREVIOUS: return bundle.getString("Previous_lc");
		}
		return bundle.getString("Unspecified_lc");
	}
	
	/*
	 * Return a String describing the specified image file type.
	 */
	static String fileTypeString(int filetype) {
		if (filetype == SWT.IMAGE_BMP)
			return "BMP";
		if (filetype == SWT.IMAGE_GIF)
			return "GIF";
		if (filetype == SWT.IMAGE_ICO)
			return "ICO";
		if (filetype == SWT.IMAGE_JPEG)
			return "JPEG";
		if (filetype == SWT.IMAGE_PNG)
			return "PNG";
		return bundle.getString("Unknown_ac");
	}
	
	/*