Jason, You can always set the screen resolution using the Display control panel in win32, but there is no way to set the screen resolution from inside of Java in jdk 1.3.1. This is a capability that we have introduced in jdk1.4, however; check out the GraphicsDevice in the latest Beta release for more information. Chet. > Delivered-To: [EMAIL PROTECTED] > Content-Transfer-Encoding: 8bit > X-Priority: 3 > From: "Jason T. S. Chow" <[EMAIL PROTECTED]> > Subject: [JAVA2D] What determines screen resolution given double buffering off? > To: [EMAIL PROTECTED] > > 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 > ---------------------------------------------- > 歡迎使用HongKong.com郵件系統 > 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". ==========================================================================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".