Search code examples
javanetbeansjradiobuttonnetbeans-7.2buttongroup

How to add radio buttons in button group?


After dragging and dropping button group in Netbeans 7.2, how to add radio button in that button group?


Solution

  • There's a Button Group field in the radio button's property. Set this value for each of the radio button that you want to add in the group to the button group's name.