1) platform is win xp
2) Indeed, reflections is not needed (was trying out some things there, and forgot to put back the original code)
Weird thing is , I tested it now and… IT WORKS!!!
Only problem still : where overlaps are present, I see 2 flickering black bands (not always in the same position).
Any idea why?
mandel answered your question: Why java opaque and opengl don’t mix???
One question, actually 2, which platform? and why are you calling Class.forName? I think you do not need reflection for that AWTUtilities
Uhm that is funny. Well, I’m going to try my best and give some useful input.
In some cases OpenGL does not like much that window systems (not the OS but what ever is like X11 on Windows) add a shadow under other windows. The problem is probably related with the fact that AWT is achieving the transparency effect using hardware acceleration and OpenGL and when rendering both images the graphics card acts weird.
When working in C a quick & dirty solution is just to disable screen updates when a menu is opened. An other trick is to set the vertical sync in the apps (I guess you can do that in your app, but I’m not a great Java developer :P) which would minimize the effect.
In conclusion, my wild guess (shot in the dark that might get me killed) is that it’s something to do with the back buffer swap overwriting the screen without being properly synchronized with GDI but that is as much as I know, I’ve never been great with 3-D and I just know OpenGL ‘cause I had to take a course at uni. Hope it helps :D, uh I nearly forgot, you have an ATI card, right?