my dog learned polymorphism
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: MAking JFrame flexible - Resolution based
It's not a secret anymore!