determine if the screen is widescreen

is there a way to determine if the user screen is widescreen or the regualr size?
[88 byte] By [tnguyen1973a] at [2007-11-27 7:50:11]
# 1
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();and then compare with some known widescreen dimensions? I don't have a widescreen, so I'm not sure what the common ratios would be.
KelVarnsona at 2007-7-12 19:31:12 > top of Java-index,Desktop,Core GUI APIs...
# 2
http://en.wikipedia.org/wiki/Computer_resolutionThere's a good list of resolutions. The names that start with 'W' are "widescreen", just compare sizes. Or probably anything that's wider than 4:3 ratio.Message was edited by: bsampieri
bsampieria at 2007-7-12 19:31:12 > top of Java-index,Desktop,Core GUI APIs...
# 3

sorry for the late reply.

> Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();

I've been using this to detect the screen ration (4:3 or 16:9); however, the user can change their screen resolution to either use a wide screen 16:9 or "regular" 4:3 screen resolution. The getScreenSize() would not know the actual screen dimension.I was hoping there's some sort of method to detect this (regardless of the screen resolution).

The more i think about it. i don't think java would know this unless the most operating system provides this information, because this would be too hardware dependent stuff.

bsampieri:

thanks for the link. I did not realize how many different screen ration out there.

tnguyen1973a at 2007-7-12 19:31:12 > top of Java-index,Desktop,Core GUI APIs...