• Post Reply Bookmark Topic Watch Topic
  • New Topic

Monitor Size  RSS feed

 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to capture the size of the user's monitor?
I want to create my frames based on the monitor size.
 
Paul Smiley
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!