开发者

sun.java2d.opengl=true doesn't work with Windows Netbeans Platform Applications

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜