![Quote](https://www.javaprogrammingforums.com/images/misc/quote_icon.png)
Originally Posted by
GregBrannon
Okay, so what you found was not helpful, but there should have been results from that search that showed you how to obtain the size of the screen (or the resolution) of the host computer on which your application is running. Knowing that, you can programmatically adjust the size of your application's main window or frame and the location(s) of the components placed in it.
Try the search again and look for the results that will allow your application to determine the size of the host computer's screen.
Thank you...i searched in detail and finally found one function
Toolkit toolkit = Toolkit.getDefaultToolkit ();
Dimension dim = toolkit.getScreenSize();
i could obtain screen dimensions and manipulate them to position the buttons