@Override
    public void setPauseOnLostFocus(boolean pauseOnLostFocus) {
        if (pauseOnLostFocus) {
            setLostFocusBehavior(LostFocusBehavior.PauseOnLostFocus);
        } else {
            setLostFocusBehavior(LostFocusBehavior.Disabled);
        }
    }
Enable or disable pause on lost focus.
<p>
By default, pause on lost focus is enabled.
If enabled, the application will stop updating
when it loses focus or becomes inactive (e.g. alt-tab).
For online or real-time applications, this might not be preferable,
so this feature should be set to disabled. For other applications,
it is best to keep it on so that CPU usage is not used when
not necessary.

@param pauseOnLostFocus <code>true</code> to enable pause on lost focus, <code>false</code>
otherwise.

@see #setLostFocusBehavior(com.jme3.app.LostFocusBehavior)
jme3-vr/src/main/java/com/jme3/app/VRApplication.java