title: How to add a radio button group in a core java program such that only one radio button is selected at one time?
body: <p>I am building a project in core java. BUt i'm stuck in making a radio button group ( for entering the gender (male/female). For that i need a radio group such that only one radio button is selected at one time; and take the input into the database accordingly. Please help.</p>