This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Hi I am new to java. Pl help me. I have a JFrame Class Which contains a MenuItem. and a JPanel Class Which Contains a RadioButton. When the user selects the radio button, that menu item should get disabled. I am facing a lot of pblms with this one in my project. Please help me Thanksinadvance Yours Suji
posted 14 years ago
Call menuItem.setEnabled(false) in the listener event for the radio button.