• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pblm with JFrame and JPanel

 
Suji N
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Call menuItem.setEnabled(false) in the listener event for the radio button.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic