private void setApi(String desiredApi) {
        System.out.println("desiredApi = " + desiredApi);
        settings.setRenderer(desiredApi);
        setSettings(settings);

        restart();
    }
Restart the app, specifying which OpenGL version to use.

@param desiredApi the string to be passed to setRenderer()
jme3-examples/src/main/java/jme3test/renderer/TestIssue2011.java