public FormControl createCheckBox(ControlContainer parent,
FrameRectangle rectangle, String name, String label, String value) {
String formId = generateFormId();
FormCheckboxElement checkboxElement = mElement.newFormCheckboxElement(
"center", formId);
// set default control properties
CheckBox checkboxForm = new CheckBox(checkboxElement);
Component.registerComponent(checkboxForm, checkboxElement);
checkboxForm.setId(formId);