Java3D window blinking
Posted by world on Nov 10, 2014; 10:25am
URL: https://forum.jogamp.org/Java3D-window-blinking-tp4033522.html
Window with java3D content very often becomes gray,
it does not repaint/update the content correctly in many cases:
1. Switching between different windows, when it lost focus;
2. Minimize/maximize window;
3. Drag the window.
When window get focus again and user begin mouse interaction with it,
then the content is displayed again.
Notes:
1) Bug is Dependent on java version:
jre-1.6.45 - OK,
jre-1.7.67 - bug.
2) Bug is Independent on java3D version.
It have place both in java3D-1.6.pre11 and java3-1.5.2.
3) Bug is Independent on Windows version.
It have place both in WinXP-64bit and Win8-64bit.
4) Bug is reproducible on any simple java3D example from internet.
Any advices on how to workaround the bug?
May be redrawing system was changed in new java-1.7 version?
And java3D doesn't take into account this changes?