System.err.println("window: "+window.getWidth()+", "+window.getHeight());
    public void setOrthoCenter() {        if (inOrthoMode) { throw new JmeException(                "Already in Orthographic mode."); }        //set up ortho mode        GL11.glMatrixMode(GL11.GL_PROJECTION);        GL11.glPushMatrix();        GL11.glLoadIdentity();        GLU.gluOrtho2D(-window.getWidth() / 2, window.getWidth() / 2, -window                .getHeight() / 2, window.getHeight() / 2);        GL11.glMatrixMode(GL11.GL_MODELVIEW);        GL11.glPushMatrix();        GL11.glLoadIdentity();        inOrthoMode = true;    }