Originally Posted by jps
Interesting... perhaps too much sophisticated.
Other option I've thought about is override setEnabled() method: 1)The JFrame.setEnabled() (anybody know what it is implemented?) 2)Override setEnable for each panel in the JFrame, and there disable each component.
I've replied yesterday twice but the forum blocks my message for having one souce code attached. I've put it on pastebin: [Java] Test_Disable_JFrame - Pastebin.com
It's a simple example of a Frame which is getting disabled by a button and, as you can check, all the components of the window get disabled include the menuBar.