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
borderButton.setText ("SWT.BORDER");
		resizeButton = new Button (decorationStyleGroup, SWT.CHECK);
		resizeButton.setText ("SWT.RESIZE");
		onTopButton = new Button (decorationStyleGroup, SWT.CHECK);
		onTopButton.setText ("SWT.ON_TOP");
	
		
		modalStyleGroup = new Group (styleGroup, SWT.NONE);
		modalStyleGroup.setLayout (new GridLayout ());
		modalStyleGroup.setText (ControlExample.getResourceString("Modal_Styles"));
		gridData = new GridData ();
		gridData.verticalAlignment = GridData.FILL;
		modalStyleGroup.setLayoutData(gridData);
		
		
		modelessButton = new Button (modalStyleGroup, SWT.RADIO);
		modelessButton.setText ("SWT.MODELESS");
		primaryModalButton = new Button (modalStyleGroup, SWT.RADIO);
		primaryModalButton.setText ("SWT.PRIMARY_MODAL");
		applicationModalButton = new Button (modalStyleGroup, SWT.RADIO);
		applicationModalButton.setText ("SWT.APPLICATION_MODAL");
		systemModalButton = new Button (modalStyleGroup, SWT.RADIO);
		systemModalButton.setText ("SWT.SYSTEM_MODAL");
	
		
		createButton = new Button (styleGroup, SWT.NULL);
		gridData = new GridData (GridData.HORIZONTAL_ALIGN_END);
		createButton.setLayoutData (gridData);
		createButton.setText (ControlExample.getResourceString("Create_Shell"));
		closeAllButton = new Button (styleGroup, SWT.NULL);