what would be the java code to create 2 simple radio buttons? "VOTE FOR BUSH"and " VOTE FOR KERRY"
JRadioButton b1 = new JRadioButton("VOTE FOR BUSH");JRadioButton b2 = new JRadioButton("VOTE FOR KERRY");ButtonGroup bg = new ButtonGroup();bg.add(b1);bg.add(b2);
This was very helpful! Please send the rest of code including counter anddisplay too.
Do you want this on a web page?
Yes......................................