public void setNifty(Nifty nifty) {
        this.nifty = nifty;
    }
Must be set in order for nifty events to be forwarded correctly.

@param nifty the Nifty instance to use
jme3-niftygui/src/main/java/com/jme3/niftygui/InputSystemJme.java