@Override
    public void simpleInitApp() {
        
        clContext = null;
        
        NiftyJmeDisplay niftyDisplay = NiftyJmeDisplay.newNiftyJmeDisplay(
                assetManager,
                inputManager,
                audioRenderer,
                guiViewPort);
        Nifty nifty = niftyDisplay.getNifty();
        nifty.fromXml("jme3test/opencl/ContextSwitchingScreen.xml", "Screen", this);
        guiViewPort.addProcessor(niftyDisplay);
        inputManager.setCursorVisible(true);
        flyCam.setEnabled(false);
    }
@param args the command line arguments
jme3-examples/src/main/java/jme3test/opencl/TestContextSwitching.java