MouseInput with FengGUI?

Hi,

I added a FengGUI window to my game, but I can't close it. The window and the mouse are correctly displayed, but the window seems not to react to mouse input.



My game extends SimplePassGame.

I put these lines at the beginning of simpleInitGame():

   MouseInput.get().setCursorVisible(true);
       ((FirstPersonHandler)input).getMouseLookHandler().setEnabled(false);



Here is the code for the GUI, which is called at the end of simpleInitGame():

   private void initGUI() {
       LWJGLBinding binding = new LWJGLBinding();

       desk = new org.fenggui.Display(binding);
       
       DefaultTheme th = new DefaultTheme();
       FengGUI.setTheme(th);
       
      Window frame = FengGUI.createWindow(true, false, false, true);
      desk.addWidget(frame);
      frame.setX(20);
      frame.setY(250);
      frame.setSize(200, 100);
      frame.setShrinkable(false);
      frame.setTitle("Title");
      frame.getAppearance().add(new PlainBackground(Color.GRAY));
      frame.getContentContainer().setLayoutManager(new StaticLayout());

       desk.layout();
   }



and this is my simpleRender():

display.getRenderer().clearBuffers();
      passManager.renderPasses(display.getRenderer());
      desk.display();



Could somebody help me please? I'm lost right now, tried few things from examples, but they didn't work.

you propably need the  fengjmeinputhandler