Simply put: Is there any way to create non-modal JFace dialog? I've tried calling setShellStyle
to no avail. If I remember right this isn't a problem in swing - is this a shortcoming of SWT, or am I just misusing the widget?
TIA
Using
setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
setBlockOnOpen(false);
seems to be the practice. This doesn't work for you?
@Override
protected void setShellStyle(int newShellStyle) {
super.setShellStyle(SWT.CLOSE | SWT.MODELESS| SWT.BORDER | SWT.TITLE);
setBlockOnOpen(false);
}
The above code will solve the problem..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With