setBounds(X,Y,WIDTH,HEIGHT);
JRadioButton r1 = new JRadioButton("My Radio button"); r1.setBounds(94, 149, 142, 23); contentPane.add(r1);