26 Sep 2009
SWT
Checkboxes
To create a checkbox in SWT, you actually create a Button:
Button checkbox = new Button(parentComponent, SWT.CHECK);
To get the value (checked or not), the boolean method:
checkbox.getSelection();
My opinions on things I have opinions on
26 Sep 2009
To create a checkbox in SWT, you actually create a Button:
Button checkbox = new Button(parentComponent, SWT.CHECK);
To get the value (checked or not), the boolean method:
checkbox.getSelection();