Skip to main content



      Home
Home » Archived » Visual Editor (VE) » APPLICATION_MODAL and parentShell
APPLICATION_MODAL and parentShell [message #611265] Thu, 27 October 2005 09:22
Eclipse UserFriend
Hi,
i try to make application modal shell, but my code(s.bellow) get error in
VE : Error trying to set new file into editor. Reason:
java.lang.NullPointerException

How can i make this ?
Thanks!

/**
* This method initializes sShell
*/
void createSShell(Shell parentShell) {
if(parentShell == null) parentShell = new Shell();
sProfileEditDlg = new Shell(parentShell, SWT.APPLICATION_MODAL
SWT.DIALOG_TRIM);
......
}
Previous Topic:tips for cut/copy/paste components
Next Topic:tips for cut/copy/paste components
Goto Forum:
  


Current Time: Tue Oct 28 20:01:44 EDT 2025

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

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

Back to the top