wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes MAking JFrame flexible - Resolution based Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "MAking JFrame flexible - Resolution based" Watch "MAking JFrame flexible - Resolution based" New topic

MAking JFrame flexible - Resolution based

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Dear All

I would like to make my form flexible in the manner that

if i m having 1024 resolution then my form open in that manner.
If i m having 800*600 resoluttion then my form open in that manner.

Further all the components used in it must also resize according to it.

Plz help me out to solve this problem.

Currently all my forms are based on 1024 resolution.

Anand Karia

Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Have a look at the Toolkit for the method to get the resolution of the screen.

jQuery in Action, 2nd edition
subject: MAking JFrame flexible - Resolution based
Similar Threads
Ten most common New year resolutions
ShowModalDialog Size problem
Windows/Mac screen resolution change
swing components size based on screen resolution
Thread question