Shell.this

Constructs a new instance of this class given only its parent. It is created with style <code>SWT.DIALOG_TRIM</code>. <p> Note: Currently, null can be passed in for the parent. This has the effect of creating the shell on the currently active display if there is one. If there is no current display, the shell is created on a "default" display. <b>Passing in null as the parent is not considered to be good coding style, and may not be supported in a future release of SWT.</b> </p>

@param parent a shell which will be the parent of the new instance

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the parent is disposed</li> </ul> @exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> </ul>

Meta