I have a frame, a child dialog and a child window. I show all of them initially. On clicking a button on the window, I am hiding the dialog and and window. Then on clicking a button on the frame, dialog and window re-appears but there is lot of flickering happening within the frame and dialog when the child windows re-appear. This is reproducible only on the following PIT build, on win32 alone.
java version "awt.pit-jcg-win-03-2004-11-23-Tue-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2004-11-23-Tue-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b13, mixed mode)
Not reproducible on solaris / linux. Not reproducible on Mustang-b13.
Run the attached test on win32. You will see a frame, dialog and a window. Click on the Show/Hide button on the window (Do not click on any other controls). Dialog and window will disappear. Click on the 'Show ALL' button on the frame. Dialog and window will appear again but you will notice that the frame and dialog flickers for a couple of seconds.
Notes on reproducibility:
Do not click on anything else apart from the mentioned buttons. This seems to be reproducible only during the first click of those buttons. Subsequent clicks does not trigger this issue. So make sure you try the above steps immediately after the windows are shown. On some systems, the flickering continues non-stop until I click on the window or the button.