• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set pos of a frame

 
arun mahajan
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have made an application in swing. Whenever I open the application it gets open up at my screen's left top corner. Is there any way I can set the position of the application say at 100,100 pixel from top left corner or in the center etc.
Regards,
Arun
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frame::setLocation( int , int )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic