I’ve got a JOGL-based fullscreen (non-exclusive mode) application that exhibits weird drawing/windowing behavior in Win7 and Vista, but not XP. None of the fixes mentioned in these threads did the trick:
The main components are a GLCanvas that lives in a JFrame, and two modeless JFrame tool palettes which should always be drawn on top of the canvas. On launch, only the GLCanvas appears. By Alt-Tabbing and ensuring the mouse is over either palette when releasing Alt-Tab, I can get the palettes to appear correctly. As soon as I mouse back over the canvas, the screen briefly goes black, then returns to the original state: canvas visible, palettes invisible.
Two possibly useful details:
- I can interact with the palettes (e.g. click buttons, resize) even when they’re not visible.
- I recently discovered an odd workaround: Opening and closing any of the app’s modal dialogs puts everything in a proper, working state. (If you Alt-Tab away from the app and return, of course, it’s back to square one.)
I appear to be running against JOGL 1.1.1, which I realize is dated, but it’s worked well until we discovered this problem. I’m wondering if moving to a newer version of JOGL is at all likely make a difference.
If not, any other ideas/suggestions would be hugely appreciated. I’ve spent quite a bit of time on this with no luck. Thanks!