This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Windows and location

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I'm having a problem with positiong my GUI in the center of my screen. What happens, is first a modal JDialog box comes up in the center of my screen. When the criteria has been met for this box to no longer be visible, I want another GUI to come up in the center of the screen. I've tried doing this using setLocationRelativeTo(null) and it always puts the GUI to the right of where the Dialog Box was. What is going on?
Thanks in advance!
[ March 06, 2002: Message edited by: Jennifer Sohl ]
 
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!