File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Disabling minimizing a JFrame when there is a child Dialog open Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disabling minimizing a JFrame when there is a child Dialog open" Watch "Disabling minimizing a JFrame when there is a child Dialog open" New topic
Author

Disabling minimizing a JFrame when there is a child Dialog open

Jason O' Regan
Greenhorn

Joined: May 26, 2003
Posts: 3
Hi
I want to be able to disable minimizing a JFrame when there is a modal JDialog opened as a child of the JFrame. This should work by having the JDialog as modal. However it doesn't work when I have my program on Solaris 8 platform. The JFrame is still allowed to minimize and exit, even though there is a modal JDialog opened in front of it. I am using JDK1.3.1_07 and it works fine on Windows.
Is there anyway to force the desired behaviour on the Solaris(unix) platform? (i.e. ensure the JFrame cannot be minimized when there is a modal JDialog opened in front of it)
Thanks!


--------------------------<br />Jason O'Regan<br />SCJP, SCJD, SCWCD, SCBCD, SCEA.<p>Artificial intelligence is no match for natural stupidity.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling minimizing a JFrame when there is a child Dialog open
 
Similar Threads
Modal JFrame in VisualAge?????
Modal JFrame in VisualAge?????
Annoying quirk with JDialog on Windows 7
Focusing on a particular window
Taskbar Iconless JFrame?