For Netbeans platform applications using Jogl, I cannot run my project if I set sun.java2d.opengl=true on Windows (both 64 and 32, XP, Vista, and 7). Unfortunately,开发者_如何学编程 setting this to false creates other problems.
The GUI just will not start if I set this to true and I am using the GLCanvas or GLJPanel. The program just hangs in loading forever.
Do you have any idea on how to get this to work?
You don't need to set openGL flag to true it's unnecessary.If you use Graphics2D the graphics build int java just then you need to turn on the openGL flag.
精彩评论