form = new Form<SecurityPattern>(SecurityPattern.class);
form.setNumColumns(2);
form.bind(secTable);
CheckBoxItem send = new CheckBoxItem("send", "Send?");
CheckBoxItem consume = new CheckBoxItem("consume", "Consume?");
CheckBoxItem manage= new CheckBoxItem("manage", "Manage?");
CheckBoxItem createDQ = new CheckBoxItem("createDurableQueue", "CreateDurable?");
CheckBoxItem deleteDQ = new CheckBoxItem("deleteDurableQueue", "DeleteDurable?");
CheckBoxItem createNDQ = new CheckBoxItem("createNonDurableQueue", "CreateNonDurable?");
CheckBoxItem deleteNDQ = new CheckBoxItem("deleteNonDurableQueue", "DeleteNonDurable?");
form.setFields(send, consume, manage);
form.setFieldsInGroup("Advanced", new DisclosureGroupRenderer(), createDQ, deleteDQ, createNDQ, deleteNDQ);