JPanel panel = new JPanel(new FormLayout("center:pref", "pref,3dlu,pref,3dlu,pref,3dlu, pref"));
CellConstraints cc = new CellConstraints();
panel.add(new JLabel(getMessage("radioButtonEnumForm.smallEnum.label")), cc.xy(1, 1));
EnumRadioButtonBinder binder = new EnumRadioButtonBinder();
Binding binding = binder.bind(getFormModel(), "smallEnum", Collections.EMPTY_MAP);
panel.add(binding.getControl(), cc.xy(1, 3));
panel.add(new JLabel(getMessage("radioButtonEnumForm.nullableEnum.label")), cc.xy(1, 5));
binder = new EnumRadioButtonBinder();
binder.setNullable(true);
binding = binder.bind(getFormModel(), "nullableEnum", Collections.EMPTY_MAP);
panel.add(binding.getControl(), cc.xy(1, 7));
return panel;
}