This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Monitor Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Monitor Size" Watch "Monitor Size" New topic
Author

Monitor Size

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
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

Joined: Jun 02, 2000
Posts: 244
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
 
Consider Paul's rocket mass heater.
 
subject: Monitor Size
 
Similar Threads
Monitor Size
how to set the size of of a JPanel according to the Screen Size
WA #1.....word association
Help! Can i open a frame to fit the dimensions of the monitor
Problem with ProgressMonitor