wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to set pos of a frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to set pos of a frame" Watch "how to set pos of a frame" New topic
Author

how to set pos of a frame

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
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

Joined: Dec 10, 2001
Posts: 7023
Frame::setLocation( int , int )


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set pos of a frame