• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDialog opening position  RSS feed

 
Amit Rosner
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I want to open a JDialog, but it always opens in the left-top corner of the screen.
How can I open in a position of my choice?
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is how to center.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!