• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to adjust the maximized size of Frame based on resolution of screen

 
Ashutosh M Kulkarni
Ranch Hand
Posts: 41
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the subject says, if a frame is executed on different screen resolutions (the most common 800x600 and 1024x768, in the regular, non-HD, non-widescreen display screen), is there a way to set it up that "maximize" button will maximize the frame to fit screen with whatever resolution set?

Also, how to open it in maximized form by default?

Thanks,
Ashutosh
 
Stephan van Hulst
Bartender
Pie
Posts: 6128
74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um, the maximize button does this by default, doesn't it? Are you experiencing any problems?

You can maximize the frame programmatically before making it visible.
 
Ashutosh M Kulkarni
Ranch Hand
Posts: 41
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Err, yes. I was having some problem with the Maximize button, when I tested it on different machines with different screen res.
But now when I did that again, it seems to work all fine. Sorry about the fuss

Thanks for replying,
Ashutosh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic