throw new GLException("Unable to initialize " + extensionName + " OpenGL extension");
String message = "Unable to initialize " + extensionName + " OpenGL extension"; JOptionPane.showMessageDialog(null, message, "Unavailable extension", JOptionPane.ERROR_MESSAGE); throw new GLException(message);
    private void checkExtension(GL gl, String extensionName) {      if (!gl.isExtensionAvailable(extensionName)) {	throw new GLException("Unable to initialize " + extensionName + " OpenGL extension");      }    }