Zorn
4 Sep 2008, 2:14 AM
Hi,
in my application, Window maximizable button don't work after hiding and showing the window.
the error :
[ERROR] Uncaught exception escaped
java.lang.NullPointerException: null
at com.extjs.gxt.ui.client.widget.Window.restore(Window.java:423)
at com.extjs.gxt.ui.client.widget.Window$3.componentSelected(Window.java:752)here a sample code : try to restore/maximize the Window :
public void onModuleLoad() {
Window window = new Window();
window.setMaximizable(true);
window.show();
window.maximize();
window.hide();
window.show();
}
in my application, Window maximizable button don't work after hiding and showing the window.
the error :
[ERROR] Uncaught exception escaped
java.lang.NullPointerException: null
at com.extjs.gxt.ui.client.widget.Window.restore(Window.java:423)
at com.extjs.gxt.ui.client.widget.Window$3.componentSelected(Window.java:752)here a sample code : try to restore/maximize the Window :
public void onModuleLoad() {
Window window = new Window();
window.setMaximizable(true);
window.show();
window.maximize();
window.hide();
window.show();
}