Thanks Chris, sadly the trick didn't work for me. The problem is still here, even when disabling double buffering.
The GUI is extremely responsive with Java2SE 5.x but not with the new Java2SE 6 RC. This happens when the application is involved in some heavy graphics computation (40% cpu, multiple threads drawing graphics, etc.). Maybe it's a threading priority problem. I don't know. I'm on a P4 dual. I was thinking about a side effect of the new gray rect fix, but it's not. Mik ============================================================================
ClassX Development Italy Via Francesca, 368/I I-56030 S.M. a Monte (PI) < Tel.(+39)-0587-705153 Fax.(+39)-0587-705153 WEB: http://www.classx.it <
============================================================================ ----- Original Message ----- From: "Chris Campbell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 13, 2006 5:58 PM Subject: Re: [JAVA2D] Gray Rect fix of Java2 SE 6
Hi Mik, There's no "official" way to disable the gray-rect fix, but here's a simple way to do it: install a trivial RepaintManager. This will revert to the JDK 5 behavior, which might help you figure out if the gray-rect fix is related to your performance issues. Let us know what you find. For example: class MyRepaintManager extends RepaintManager {} RepaintManager.setCurrentManager(new MyRepaintManager()); Thanks, Chris
=========================================================================== 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".