• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the actual screen res. ?

 
Brett Anthoine
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Toolkit.getDefaultToolkit().getScreenSize()
that gives you an object of the class Dimension which holds the width and the height in pixels (ie. 1024 by 768 etc.. ).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!