4142434445464748495051
XButton btn = new XButton("Start Progress"); btn.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { if(!progress.isRunning()){ progress.reset(); runProgress(0, progress); } } });