Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Good Screen Size

 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When it comes to frame, I use 800 X 600. Is it good?
Any suggestions?
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Initially I was using 600x400 frame size. But I noticed that it appears fine one m/c and looks small on another m/c with same monitor size. This may be due to different resolution.
Now I'm using
Dimension wndSize = frame.getToolkit().getScreenSize();
int frameHeight = wndSize.height - 250;
int frameWidth = wndSize.width - 250;
 
Aron J. Skantz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting the frame size to 800x600 on a system that doesnt support that high resolution might create problems.
So personally I check if the screen resolution is 640x480 or above and if true set the frame size to that (640x480). If the resolution is smaller then i choose fullscreen to at least get as close to my prefered size as possible.
Then again, the examiner probably has big hi-rez'd monitors so i dont think it will be much of a problem
\Aron
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic