Closed GoogleCodeExporter closed 9 years ago
Ah, so you actually don't populate a CheckBoxList with CheckBox objects... A
CheckBox is a separate GUI element which lives on it's own while the
CheckBoxList is a handy component for making multiple checkboxes in one list
with an optional scroll bar.
The "items" you pass in by addItem(..) can be anything, CheckBoxList will call
.toString() on them to get the label to draw. You can get the original object
back by calling (for example) getItemAt(..) on the CheckBoxList. If you only
want a number of labels, you can just use Strings.
Original comment by mab...@gmail.com
on 30 Sep 2013 at 1:30
Original issue reported on code.google.com by
jasni...@gmail.com
on 18 Sep 2013 at 2:39