Using the Dialogs : Dialog « SWT « Java Tutorial
- Java Tutorial
- SWT
- Dialog
- The common dialog classes in SWT descend from SWT's abstract Dialog class (org.eclipse.swt.widgets.Dialog).
- A dialog's parent, which is passed to the constructor, is always a Shell object.
Constant | Description |
SWT.APPLICATION_MODAL | Modal to the application; input is blocked to other windows in the application. |
SWT.PRIMARY_MODAL | Modal to the parent window of the dialog; input is blocked to the parent of the dialog only. |
SWT.SYSTEM_MODAL | Input is blocked to all other windows of all applications until the dialog is dismissed. |
SWT.NONE | Modeless (the default). |