This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "MAking JFrame flexible - Resolution based" Watch "MAking JFrame flexible - Resolution based" New topic
Author

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.

Cheers,
Rachel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MAking JFrame flexible - Resolution based
 
Similar Threads
Thread question
Ten most common New year resolutions
ShowModalDialog Size problem
Windows/Mac screen resolution change
swing components size based on screen resolution