AWT CheckboxGroup

Get Selected Radio Button Example

Example Output

Want to learn quickly?
Try one of the many quizzes. More than Java 400 questions with detailed answers.

Add Comment

  • is it possible to write the two components code(Check box, radio button) in the one itemStateChanged method..if yes, how to do? becuause I am getting problem.i.e. I wrote 2 components code in the one itemStateChange method..If I click first component, it is displaying first component, then If i click on second, it is displaying again first and second components ouput…i donno know y? can you help me out

Sponsors

Facebook Fans

Online Shopping – Flipkart