Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MAking JFrame flexible - Resolution based

 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the Toolkit for the method to get the resolution of the screen.

Cheers,
Rachel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic