@Override
    public int getWindowXPosition() {
        return inputSource.getX();
    }
Returns the screen X coordinate of the left edge of the input panel.

@return the screen X coordinate
jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java