Shell.open

Moves the receiver to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it), marks it visible, sets the focus and asks the window manager to make the shell active.

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see Control#moveAbove @see Control#setFocus @see Control#setVisible @see Display#getActiveShell @see Decorations#setDefaultButton(Button) @see Shell#setActive @see Shell#forceActive

class Shell
void
open
(
)

Meta