IntelliJ IDEA 13.1 Web Help

When you create a button group in a form that is bound to source code, no field for the group is created. If you need to reference the group in code, you will have to explicitly bind the group to a field.

To bind a button group to a field
  1. Select the button group in the Component Treeview. The group's properties appear in the Inspector pane.
  2. Make sure the value in the Name property is the name you want for the new field in the source code.
  3. Check the Bind to field check box to generate the field declaration in the source file bound to the parent GUI form.

Tip

You can remove the field binding by clearing the Bind to field check box. This removes the field in the source code file.

See Also

Reference:

Web Resources: