Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

finding selected button in a group

843806Feb 20 2008 — edited Mar 18 2008
Hi all.
I am trying to determine the selected radio button in a button group.
I checked the API for buttonGroup and it has a method called getSelection() which returns a button model.
However I am not sure how to compare this with a radio button.
Anybody have any ideas/
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2008
Added on Feb 20 2008
14 comments
733 views