MessageBox « org.eclipse.swt.widgets « Java by API






1.new MessageBox(Shell parent, int style)
2.new MessageBox(shell, SWT.OK)
3.new MessageBox(shell, SWT.OK | SWT.CANCEL)
4.new MessageBox(shell, SWT.RETRY | SWT.CANCEL)
5.new MessageBox(shell, SWT.ABORT | SWT.RETRY | SWT.IGNORE)
6.new MessageBox(shell, SWT.YES | SWT.NO)
7.new MessageBox(shell, SWT.YES | SWT.NO | SWT.CANCEL)
8.new MessageBox(shell,SWT.ICON_ERROR)
9.new MessageBox(shell,SWT.ICON_QUESTION)








10.new MessageBox(shell,SWT.ICON_WARNING)
11.new MessageBox(shell,SWT.ICON_WORKING)
12.MessageBox: open()
13.MessageBox: setMessage(String mess)
14.MessageBox: setText(String text)