MessageBox.open

Makes the dialog visible and brings it to the front of the display.

@return the ID of the button that was selected to dismiss the message box (e.g. SWT.OK, SWT.CANCEL, etc.)

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

class MessageBox
int
open
(
)

Meta