private void RenderWindow()
 {
     window.setOnCancelCallback(new GuiDefinitions.Callback(WindowCallback));
     mGuiRenderer.renderWindow(window, null);
 }