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
package org.eclipse.swt.examples.controlexample;
/*
 * (c) Copyright IBM Corp. 2000, 2002.
 * This file is made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 */
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.events.*;
class ShellTab extends Tab {