@Override
    public int getFramebufferWidth() {
        int result = Display.getWidth();
        return result;
    }
Returns the width of the framebuffer.

@return the width (in pixels)
jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java