wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Pblm with JFrame and JPanel  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Pblm with JFrame and JPanel  " Watch "Pblm with JFrame and JPanel  " New topic
Author

Pblm with JFrame and JPanel

Suji N
Ranch Hand

Joined: Sep 04, 2001
Posts: 35
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

Joined: May 17, 2001
Posts: 2823
Call menuItem.setEnabled(false) in the listener event for the radio button.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pblm with JFrame and JPanel