This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes get the size of the full screen in current settings(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "get the size of the full screen in current settings(urgent)" Watch "get the size of the full screen in current settings(urgent)" New topic
Author

get the size of the full screen in current settings(urgent)

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hai, my problem is ,I wish to display a frame/window as windows screen. i.e. the full size of the screen.How to get the size of the screen i.e. the monitor used.My window/frame should be displayed as full screen as windows Explorer.
reply as soon as possible.
Matt Hansen
Ranch Hand

Joined: Jul 31, 2001
Posts: 34
To get the screen size you can use Toolkit.getDefaultToolkit().getScreenSize()
 
Consider Paul's rocket mass heater.
 
subject: get the size of the full screen in current settings(urgent)