JOGL and Java2D and Swing on the Mac with OpenGL

Discussion in 'Mac Programming' started by billyork23, Jun 16, 2010.

  1. billyork23 macrumors newbie

    Oct 28, 2009
    I'd like to make Java2D use the Swing OpenGL pipeline but this appears to be broken or disabled on the Mac.

    Has anyone else tripped over this?

    The basic idea is that I'd like to set:


    And use JOGL with a GLJPanel. What happens though, when I run with JOGL debugging enabled, is I get this message vis STDERR:

    Checking for Java2D/OpenGL support
    Java2D support: default GraphicsConfiguration = apple.awt.CGraphicsConfig
    JOGL/Java2D integration disabled
  2. mrbash macrumors 6502

    Aug 10, 2008
    I believe that the sun JavaOGL provider is not available under the default JVM that Apple has. Have you tried downloading Sun's platform independent JARs?
  3. billyork23 thread starter macrumors newbie

    Oct 28, 2009
    JOGL and Java2D

    I've tried the latest JOGL from, are you talking about that or something else?

    If so, where do I find the JavaOGL platform independent jars?
  4. mrbash macrumors 6502

    Aug 10, 2008
    I didn't know that hosted any binaries. I only saw links to source that you would have to build on your platform.

    I think there should be a solid JOGL plug-in for Netbeans, that has full support for Red Book (ogl examples). You may want to just go with that.

Share This Page