Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Open another shell
Open another shell [message #612355] Sat, 25 March 2006 17:46
Stephen is currently offline StephenFriend
Messages: 47
Registered: July 2009
Member
How do I open another shell class from within an existing shell class.

For example, how would I open the shell below from within a shell?

package view;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Shell;
public class SelectCampaign {
private Shell sShell = null;
/**
* This method initializes sShell
*/
private void createSShell() {
sShell = new Shell();
sShell.setText("Shell");
sShell.setSize(new Point(300, 200));
sShell.setLayout(new GridLayout());
}
}
Previous Topic:Visual editor isn't picking up my property editors and generates UNABLE TO DETERMINE INITIALIZATION
Next Topic:Open another shell
Goto Forum:
  


Current Time: Fri Mar 29 11:51:48 GMT 2024

Powered by FUDForum. Page generated in 0.03999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top