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 Fixing JDialog's bounds to the parent frame's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Fixing JDialog Watch "Fixing JDialog New topic
Author

Fixing JDialog's bounds to the parent frame's

anandh
Greenhorn

Joined: Sep 06, 2001
Posts: 22
Hi,
Is it possible to "Fix" a modal JDialog (that is launched from a parent frame) to its parent frame's bounds? I mean, the user should not be able to move the dialog outside the parent frame's location/co-ordinates. Is this achievable?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

anandh,

Please re-register with a name that follows the guidelines of the JavaRanch naming conventions. We require all registered user names to be in the form "first name" + space + "last name". Thanks!

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fixing JDialog's bounds to the parent frame's
 
Similar Threads
Maximizing the Jframe in Swings
frame parent URL
adding popup ?
Making a ScrollPane resize along with its parent Frame
Adding component in JPanel