SWT Java Tutorial

Use the MessageBox class for displaying some simple text or asking a question, and receiving one of the following responses:
OK
Yes
No
Cancel
Retry
Abort
Ignore