Have you tried using getDefaultToolkit() (java.utils.Toolkit)

What does that return?

-----Original Message-----
From: Jason T. S. Chow [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2001 15:44
To: [EMAIL PROTECTED]
Subject: [JAVA2D] What determines screen resolution given double
buffering off?


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.

Jason
----------------------------------------------
 �w��ϥ�HongKong.com�l��t��
 Thank you for using hongkong.com Email system

===========================================================================
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".


Visit our website at http://www.rm.com 

Standard Disclaimer:This message is confidential.  You should not copy it or
disclose its contents to anyone.  You may use and apply the information only
for the intended purpose.  Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message.  Any views or opinions presented are only those of the author and
not those of RM.  If this email has come to you in error please delete it
and any attachments.  Please note that RM may intercept incoming and
outgoing e-mail communications.

==========================================================================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