Slow response time when using interactor that involves drawing ghost rectangle

Article ID: 2359
Last updated: 29 May, 2018
Article ID: 2359
Last updated: 29 May, 2018
Revision: 3
Views: 900
Posted: 27 Apr, 2011
by Dean J.
Updated: 29 May, 2018
by Gargani A.

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).

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2359
Last updated: 29 May, 2018
Revision: 3
Views: 900
Posted: 27 Apr, 2011 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category