wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes public Dialog(Frame owner, boolean modal) not working as expected 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 "public Dialog(Frame owner, boolean modal) not working as expected" Watch "public Dialog(Frame owner, boolean modal) not working as expected" New topic
Author

public Dialog(Frame owner, boolean modal) not working as expected

Vinnu Reddy
Greenhorn

Joined: Nov 30, 2005
Posts: 1
In Dialog(Frame owner, boolean modal) constructor if we pass the frame instance and modal as "true", the dialog is not blocking input to other
app windows when shown.

I want to make a dialog "modal" for the frame I specify. Is there any other alternative ??

Thanks in Advance,
Vinnu.
todd runstein
Ranch Hand

Joined: Feb 15, 2005
Posts: 64
Hmmmm. Can you post your code? I've used modal=true many times an it certainly renders other frames useless (well, okay, so I can move them around under Linux, but I can't bring them to the front or enter anything in them).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: public Dialog(Frame owner, boolean modal) not working as expected
 
Similar Threads
Focus on JDialog lost
invoking dialog box from Applet results in Hang of IE browser
Modal JWindow
Modal JWindow
Making a child window modal