private JmeCursor setJmeCursor(CursorLoader.CursorImageData cid) {
        JmeCursor jmeCursor = new JmeCursor();

        // set cursor's params.
        jmeCursor.setWidth(cid.width);
        jmeCursor.setHeight(cid.height);
        jmeCursor.setxHotSpot(cid.xHotSpot);
        jmeCursor.setyHotSpot(cid.yHotSpot);
        jmeCursor.setNumImages(cid.numImages);
        jmeCursor.setImagesDelay(cid.imgDelay);
        jmeCursor.setImagesData(cid.data);
//        System.out.println("Width = " + cid.width);
//        System.out.println("Height = " + cid.height);
//        System.out.println("HSx = " + cid.xHotSpot);
//        System.out.println("HSy = " + cid.yHotSpot);
//        System.out.println("# img = " + cid.numImages);

        return jmeCursor;
    }
Loads and return a cursor file of one of the following format: .ani, .cur and .ico.
@param info The {@link AssetInfo} describing the cursor file.
@return A JmeCursor representation of the LWJGL's Cursor.
@throws IOException if the file is not found.
jme3-desktop/src/main/java/com/jme3/cursors/plugins/CursorLoader.java