This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Monitor Size" Watch "Monitor Size" New topic

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();
I agree. Here's the link:
subject: Monitor Size
Similar Threads
Help! Can i open a frame to fit the dimensions of the monitor
how to set the size of of a JPanel according to the Screen Size
Monitor Size
WA #1.....word association
Problem with ProgressMonitor