• Post Reply Bookmark Topic Watch Topic
  • New Topic

setLocationRelativeTo(null) no longer working

 
Randall Twede
Ranch Hand
Posts: 4520
6
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess it is a new windows thing, but this no longer centers the frame
i guess it is time to try to find the old way i used to do it
 
Rob Camick
Ranch Hand
Posts: 2701
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You know my standard response...

Why do you continue to waste peoples time by not posting a SSCCE when you ask a question???

Unless you post a SSCCE showing it doesn't work, I'm would assume it does work because I have never had a problem using it!!!
 
Randall Twede
Ranch Hand
Posts: 4520
6
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my bad. i figured out what the problem was. when you call it matters
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!