When running SwingSet2 on various flavors of Windows, certain images
disappear after making another application (such as the command line tool)
go into fullscreen mode. These images will alternately disappear and reappear
with each successive switch into fullscreen mode. The images will reappear
correctly if another window is dragged over SwingSet2.
Note that this behavior is not reproducible if DirectDraw acceleration is
disabled using the -Dsun.java2d.noddraw=true property.
To reproduce, make command line tool go fullscreen and back to
window (or hit ctrl-alt-del to bring up the Task Manager) while
SwingSet2 is running. The SwingSet2 will be repainted improperly:
certain images will be missing (especially the toolbar icons at top).
Drag a window over the SwingSet2 frame and it will repaint ok.
Another CAP member reports the same problem, their app displays quite a
few icons(attached 3 icon files), but it is only one that has the problem,
and it only happens once at the beginning. After an initial exposure event,
such as dragging a window over the button, or even pressing a button, it
shows up no problem.
Also if add -Dsun.java2d.noddraw=true VM parameter and there is no problem
with image. If clear the VM parameter problem shows up again.