Unlikely to have such a java exception when “compiling”, more likely to be when running.
I am not proficient with it but what are the GLCapabilities you ask for ?
Maybe some feature is not available, but the app request it.
Well, I don´t know what features that would be. I have also tested to just create a new simple opengl application using NetBeans opengl pack without changing the generated code and I still get the exception.
The GLJPanel is declared as this:
panel = new GLJPanel(createGLCapabilites());
And the createGLCapabilites() looks like this:
private GLCapabilities createGLCapabilites() {
GLCapabilities capabilities = new GLCapabilities();
capabilities.setHardwareAccelerated(true);
// try to enable 2x anti aliasing - should be supported on most hardware
capabilities.setNumSamples(2);
capabilities.setSampleBuffers(true);
return capabilities;
}
try to remove all the set* from createGLCapabilites().
if it still does not work, you will have to be check what this chromium renderer can really provide, and build your GLCapabilities() according to it.