// boolean visible = checkboxes.length>0;
// gd.exclude = !visible;
if (options.length==0) {
//don't leave section empty it looks ugly
subsections[0] = new CommentSection(owner, "No choices available");
subsections[0].createContents(group);
}
for (int i = 0; i < options.length; i++) {
subsections[i] = new CheckBox(owner, options[i], model.getLabel(options[i]), model.getTooltip(options[i]));