• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Good Screen Size

 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When it comes to frame, I use 800 X 600. Is it good?
Any suggestions?
 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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;
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic