public void setResolution(int width, int height) {
        setWidth(width);
        setHeight(height);
    }
Set the resolution for the default framebuffer
Use {@link #setWindowSize(int, int)} instead, for HiDPI display support.
@param width The width
@param height The height
(Default: 640x480)
jme3-core/src/main/java/com/jme3/system/AppSettings.java