Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fixing JDialog's bounds to the parent frame's

 
anandh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic