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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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://aspose.com/file-tools
 
subject: Problem updating a window