Use the ButtonGroup component from the Palette:

  1. Add a ButtonGroup to the form (it is added as a non-visual bean).
  2. Select all radio buttons you want to group and set their buttonGroup property (choose the group from combobox).

Source: NetBeans User FAQ