errorwindow.addListener(new LifeCycleListener() { public void lifeCycleEvent(LifeCycleEvent event) { }  public boolean lifeCycleQuery(LifeCycleEvent event) { errorwindow.destroy(); return false; } });
	public static void showErrorDialog(String text) {		Window errorwindow = (Window) gladeApp.getWidget("errorwindow");		TextView textview = (TextView) gladeApp.getWidget("errortextview");		textview.setEditable(false);		TextBuffer buf = new TextBuffer();		buf.setText(text);		textview.setBuffer(buf);		errorwindow.setDefaultSize(400,300);		errorwindow.show();	}