A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
MAking JFrame flexible - Resolution based
Joined: Sep 25, 2004
Dec 12, 2004 23:42:00
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.
Love is GOD and GOD is Love.
M/s. Anand Karia Concreting IT
Joined: May 18, 2004
Dec 12, 2004 23:52:00
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
ShowModalDialog Size problem
Windows/Mac screen resolution change
swing components size based on screen resolution
Ten most common New year resolutions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014