aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Resolution of the Monitor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resolution of the Monitor" Watch "Resolution of the Monitor" New topic
Author

Resolution of the Monitor

Pratik Khetia
Ranch Hand

Joined: Jun 29, 2001
Posts: 50
Hi All,
I need to know how do I find the resolution of the end-user's monitor. Is there any system properties for that ??

thanks in advance
Pratik
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Pratik,
Try this (java.awt.Toolkit):
Dimension scSize = Toolkit.getDefaultToolkit().getScreenSize();
Regards,
Manfred.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resolution of the Monitor