En r�ponse � Chet Haase <[EMAIL PROTECTED]>: > I'm not quite sure what problem you are having managing the > VolatileImage since Swing should be managing that for you,
It's not a problem with VolatileImage. I wanted just meant, that I could have created a BufferedImage and rendered in that BufferedImage. Alas, it implies that I have to manage this BufferedImage depending on the JPanel/JScrollpane and to disable the double-buffering in the JPanel to get maximum performance. (it's no so complex, but if I can avoid some work...) > but in any case you can force the back buffer to be a > BufferedImage instead by using the flag: > -Dswing.volatileImageBufferEnabled=false > (Note that this flag works for jdk1.4 and jdk1.4.1 but that > it may change with future releases as our internal use of > VolatileImage changes) It's why I would prefer not to use a such flag ;-) Emmanuel > > Chet. > > Emmanuel Deviller wrote: > > > > Hi everybody, > > > > With JDK 1.4, is there a easy way without using a runtime flag, like > > swing.volatileImageBufferEnabled=false, to get an offscreen image of > > type BufferedImage (not VolatileImage) for Swing jcomponents ? > > > > ie. : I have a JPanel enclosed in a JScrollPane, I need a > > "BufferedImage" backuffer for performance reason, and I had > > rather to avoid the burden to manage by myself this offscreen > > backbuffer. > > > > Thanks, > > Emmanuel > > > > > =========================================================================== > > 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". > =========================================================================== 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".
