@Override
    public int getFramebufferWidth() {
        return inputSource.getWidth();
    }
Returns the width of the input panel.

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