You are confusing screen size with screen resolution.

getScreenSize() will tell you that you are using an 800x600 screen.

J

At 10:43 PM 9/24/2001 +0800, Jason T. S. Chow wrote:
>Hi all,
>
>   After I have set double buffering of a swing component off by
> setDoubleBuffered(false),
>I found that the screen resolution is 96, from
>getToolkit().getScreenResolution().
>Why is 96? And is there any way to set screen resolution?I am using 800 x
>600 screen
>size, using Window 98 and JDK 1.3.1.
>
>   Thanks in advnace.


John Zukowski, Strategic Java Consulting
JZ Ventures, Inc. - http://www.jzventures.com
Java Collections - http://www.apress.com/catalog/book/1893115925/
The limits of my language are the limits of my world. - Wittgenstein

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to