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

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