aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Problem updating a window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Problem updating a window" Watch "Problem updating a window" New topic
Author

Problem updating a window

Scott Carlson
Greenhorn

Joined: Oct 04, 2005
Posts: 4
What I am trying to do is have a logout frame popup once a user clicks on Logout from the menubar. This is working fine. What I want to do is once the user pushes the Logout button, I want some of the menu items on the main frame to be disabled.

Here is the code I have but it's not updating the main window called mainFrame. Any Ideas?

Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Try 'setEnabled' from the JMenuItem api.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem updating a window
 
Similar Threads
GridBagLayout Problem
Resizing TextArea()
Crypto Challenge Instructions
Newbie question about transferring data between classes
ActionListener not recognized under Solaris