public int getPrimaryDisplay() {
        return context.getPrimaryDisplay();
    }
Use this to get the positional number of the primary
monitor from the glfwGetMonitors() function call.

@return the position of the value in the arraylist of
        the primary monitor.
jme3-core/src/main/java/com/jme3/app/LegacyApplication.java