/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007-2009, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
package com.google.gwt.sample.hello.client;
import com.extjs.gxt.ui.client.widget.Info;
import com.extjs.gxt.ui.client.widget.MessageBox;
import com.extjs.gxt.ui.client.widget.ProgressBar;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Timer;
public class Hello implements EntryPoint {
public void onModuleLoad() {
final MessageBox box = MessageBox.wait("Progress",
"Saving your data, please wait...", "Saving...");
Timer t = new Timer() {
@Override
public void run() {
Info.display("Message", "Your fake data was saved", "");
box.close();
}
};
t.schedule(5000);
}
}
Ext-GWT.zip( 4,297 k)