aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Pblm with JFrame and JPanel  Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Pblm with JFrame and JPanel
 
Similar Threads
Problem with JTree inside JScrollPane inside JPanel
Painting Issues
Adding JPanel in JFrame
reading data from Jtextfield on jpanel on jframe
Correct size of a Container