File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.

I agree. Here's the link:
subject: MAking JFrame flexible - Resolution based
jQuery in Action, 3rd edition