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 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Modal JWindow
invoking dialog box from Applet results in Hang of IE browser
Focus on JDialog lost
Making a child window modal
Modal JWindow