关于JRadioButton问题求教
JRadioButton rbut1 = new JRadioButton("no1");JRadioButton rbut2 = new JRadioButton("no1");
JRadioButton rbut2 = new JRadioButton("no1");
ButtonGroup bg = new ButtonGroup();
bg.add(rbut1);
bg.add(rbut2);
bg.add(rbut3);
然后如何将这个bg加入到JFarme中去