This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Disabling modaled JInternalFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disabling modaled JInternalFrame" Watch "Disabling modaled JInternalFrame" New topic
Author

Disabling modaled JInternalFrame

Richard Teston
Ranch Hand

Joined: Feb 12, 2002
Posts: 89
I have this main-screen with buttons to lunch another sub-screen made the sub-screen set its layered pane to modal and it work fine the main-screen sit behind the sub-screen even though i clicked on it, but the only problem is i can still clicked on the main-screen close minimized and maximized button, i can typed JTextField..., the point is i want to disable the whole frame but i cant, i tried the setEnabled(false) but it dont work. please help urgent thanks in advance.


The Code is the Programmer
Richard Teston
Ranch Hand

Joined: Feb 12, 2002
Posts: 89
I have this main-screen with buttons to lunch another sub-screen, I made the sub-screen set its layered pane to modal and it work fine the main-screen sit behind the sub-screen even though i clicked on it, but the only problem is i can still clicked on the main-screen close, minimized and maximized button, and i can even type on its JTextField components..., the point is i want to disable the whole frame (as in no mouse event) but i cant, i tried the setEnabled(false) but it dont work. please help me! thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling modaled JInternalFrame
 
Similar Threads
Doubt in JFrame and loading Dynamic JPanel
Help in statics
A TOUGH question on JInternal Frame
pop up window+javascript
A main JFrame with a button to open a new JDialog - MVC