At 09:50 AM 6/11/99 -0300, you wrote:
>
> Hi, all.. this may have been dealt with before, so forgive me if you've
>heard this.. I'm trying to get the screenresolution (in dpi) of the
>current user's screen. We're working with map information so converting
>milimeters in the map to a proper mapping scale is tough when
>getScreenResolution() always returns 96. :) here's what i'm using:
>
> Toolkit defaultToolKit = Toolkit.getDefaultToolkit();
> int resolution = defaultToolKit.getScreenResolution();
>
> anyone know a solution to this? thanks!
>
> John Sproull
> Universal Systems, Ltd.
> Fredericton, NB
>
Try getScreenSize() instead of getScreenResolution().
Jonathan Rachlin
Computer Strategies, Ltd.
New York, NY
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/