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






1.new Button(Shell shell, SWT.ARROW)
2.new Button(Shell shell, SWT.CHECK)
3.new Button(Shell shell, SWT.FLAT)
4.new Button(Shell shell, SWT.PUSH)
5.new Button(Shell shell, SWT.TOGGLE)
6.new Button(Composite parent, int style) (SWT.PUSH | SWT.BORDER)
7.new Button(Shell shell, SWT.RADIO)
8.new Button(Group g, SWT.RADIO)
9.Button: addSelectionListener(SelectionListener sel)








10.Button: setText(String text)