how to make a jRadiobutton to groupbutton?

iam using netbeans,in that i made a form with jradiobutton but the fault is that when i select the properties of buttongroup from jradiobutton it shows me none actually this should show option right like none and buttongroup but it does not show in the properties.
[271 byte] By [sanjeev_suku99@yahoo.co.ina] at [2007-11-27 0:39:56]
# 1

have you created ButtonGroup object.

try the following.

insert the following line of code in your existing code

javax.swing.ButtonGroup buttonGroup = new javax.swing.ButtonGroup()

after that select any radiobutton's property, there u can select buttonGroup from the combo box, as u have created in the above line.

please give feedback whether it has worked or not

Tapan Maru

Sun Certified Java Programmer

tapan_javaprogrammera at 2007-7-11 22:52:27 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks it worked.i have insert the code the property got selected.
sanjeev_suku99@yahoo.co.ina at 2007-7-11 22:52:27 > top of Java-index,Desktop,Core GUI APIs...