private void createControls() {
        flyCam.setMoveSpeed(50);
        cam.setLocation(new Vector3f(0, 100, 0));
        cam.setRotation(new Quaternion(-0.1779f, 0.821934f, -0.39033f, -0.3747f));

        inputManager.addMapping("save", new KeyTrigger(KeyInput.KEY_T));
        inputManager.addListener(saveActionListener, "save");

        inputManager.addMapping("load", new KeyTrigger(KeyInput.KEY_Y));
        inputManager.addListener(loadActionListener, "load");

        inputManager.addMapping("clone", new KeyTrigger(KeyInput.KEY_C));
        inputManager.addListener(cloneActionListener, "clone");
    }
Create the save and load actions and add them to the input listener
jme3-examples/src/main/java/jme3test/terrain/TerrainTestReadWrite.java