The following exception may be encountered if the OpenGL pipeline is enabled
and the default visual is not GLX-enabled:
Exception in thread "main" java.lang.ClassCastException:
sun.awt.X11GraphicsConfig
at sun.java2d.opengl.GLXSurfaceData.getGC(GLXSurfaceData.java:90)
at sun.java2d.opengl.GLXSurfaceData.createData(GLXSurfaceData.java:59)
at
sun.java2d.opengl.GLXVolatileSurfaceManager.initAcceleratedSurface(GLXVolatileSurfaceManager.java:57)
at
sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:93)
at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:60)
at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:46)
at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
at
sun.java2d.opengl.GLXGraphicsConfig.createBackBufferImage(GLXGraphicsConfig.java:221)
at sun.awt.X11.XComponentPeer.createBuffers(XComponentPeer.java:1197)
at
java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:3318)
at java.awt.Component$FlipBufferStrategy.<init>(Component.java:3287)
at java.awt.Component.createBufferStrategy(Component.java:3196)
at java.awt.Window.createBufferStrategy(Window.java:2081)
at java.awt.Component.createBufferStrategy(Component.java:3128)
at java.awt.Window.createBufferStrategy(Window.java:2056)
at XformMB.<init>(XformMB.java:53)
at XformMB.main(XformMB.java:163)