MenuBar autoclose

2009-09-05 Thread ber
Context: I have a MenuBar that I insert in the screen with RootPanel.get().add(menu). Is there a way to close a MenuBar when the user clicks somewhere else or uses the escape key? Or do I have to put the menu in a dedicated popup panel to achieve this? Thanks --~--~-~--~~~

JSONValue class not found

2009-03-06 Thread Ber
Hi all I'm using Netbeans 6.5 to develop a GWT (1.5.3) & GWTExt (2.0.5) app. Every time I start my app in Glassfish v2, though, I get this error: java.lang.ClassNotFoundException: com.google.gwt.json.client.JSONValue I can access this class in my code, and during compile time this is not a proble