Bug 22868 Eclipse hangs while creating a shell from ControlExample
Eclipse 2.0.1 Build 21 Aug 1513 was installed on a Solaris 8 machine and was run through Exceed V7.1 Xterm window on Windows 2000 Install SWT examples and run ControlExample. Steps to reproduce: 1. Start ControlExample java application 2. From available tabs select "Shell" and click on it to open 3. Select the following options in shell creation: Parent + Primary Modal + SWT resize + SWT on Top 4. Click on "Create shell" Result: Shell creation is not finished. Eclipse crashes and no controls may be activated. Eclipse may be restarted only after killing Eclipse and Java processes on the machine
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ShellTab.java
* Make sure if the No Trim button is selected then
		 * all other decoration buttons are deselected.
		 */
		if (widget.getSelection() && widget != noTrimButton) {
			noTrimButton.setSelection (false);
			return;
		}
		if (widget.getSelection() && widget == noTrimButton) {
			if (applicationModalButton.getSelection() || systemModalButton.getSelection()) {
				noTrimButton.setSelection (false);
				return;
			}
			closeButton.setSelection (false);
			titleButton.setSelection (false);
			minButton.setSelection (false);
			maxButton.setSelection (false);
			borderButton.setSelection (false);
			resizeButton.setSelection (false);
			return;
		}
	}
	
	/**
	 * Gets the text for the tab folder item.
	 */
	String getTabText () {
		return "Shell";
	}
}