A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Resolution of the Monitor
Pratik Khetia
Ranch Hand
Joined: Jun 29, 2001
Posts: 50
posted
Oct 26, 2001 10:31:00
0
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
posted
Oct 26, 2001 11:13:00
0
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
Similar Threads
Control the monitor resolution.
Database location and properties file doubts.
Monitor Size
How to read the Monitor Resolution?
Images in Debian
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter