Bug 53274 [SWT Examples] Image Analyzer crashed when tried to save images as PNGs and ICOs
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
boolean showMask = false; 
	boolean showBackground = false; 
	boolean animate = false; 
	Thread animateThread; 
	Thread incrementalThread; 
	String lastPath; 
	String currentName; 
	String fileName; 
	ImageLoader loader; 
	ImageData[] imageDataArray; 
	int imageDataIndex; 
	ImageData imageData; 
	Image image; 
	Vector incrementalEvents; 
	long loadTime = 0; 
	
	static final int INDEX_DIGITS = 4;
	static final int ALPHA_CONSTANT = 0;
	static final int ALPHA_X = 1;
	static final int ALPHA_Y = 2;
	class TextPrompter extends Dialog {
		String message = "";
		String result = null;
		Shell dialog;
		Text text;
		public TextPrompter (Shell parent, int style) {
			super (parent, style);
		}
		public TextPrompter (Shell parent) {
			this (parent, SWT.APPLICATION_MODAL);