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!

comboBox & radio buttons

843805Jan 29 2007 — edited Jan 29 2007
Hello,

I am trying to figure out a way to do this: depending on which option the user chooses with the radio button, the contents of the combo box will be different.

So say if I choose radio button that says "Cars", the combo box will display the car models, and if I choose "Planes", the combo box will display plane models.

I have add an actionListeners to the radio buttons, but that doesn't work. Any help would be greatly appreciated!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 26 2007
Added on Jan 29 2007
2 comments
260 views