| | | | Browse by category |
Question
Why does the ghost rectangle flicker and why the response time is very slow when using interactors such as IlvChartZoomInteractor or IlvZoomViewInteractor?
Answer
This is due to the performance regression introduced in Sun's JDK 1.6 update 10. This regression involves XOR drawing which is typically used for drawing "ghosts" during interaction.
This JDK bug is registered in Sun's bug database under ID
Upgrading to Sun's JDK 1.6 update 14 or higher will resolve the issue.
There are two workarounds mentioned in Sun's release notes if upgrading the JDK is not an option:
1. Disable the direct 3D pipeline by passing the following property to the Java VM: -Dsun.java2d.d3d=false
2. Set the J2D_D3D environment variable to "false" prior to starting your application (or set it globally).