Community
Participate
Working Groups
bringToTop (false);
setVisible (true);
if (isDisposed ()) return;
if (!restoreFocus () && !traverseGroup (true)) setFocus ();
if (!restoreFocus () && !traverseGroup (true)) {
/*
* If a shell is opened during the FocusOut event of
* a widget, it is required to set focus to all shells
* except for ON_TOP shells in order to maintain
* consistency with other platforms.
*/
if ((style & SWT.ON_TOP) == 0) display.focusEvent = SWT.None;
setFocus ();
}
public boolean print (GC gc) {