/** * Actions added are automatically removed when canceled or stopped. * * @param action Action to run in background * @return True */ @Override public synchronized boolean add(final BackgroundAction action) { action.addListener(this); return super.add(action); }
progress.startAnimation(null); this.task.addListener(new BackgroundActionListener() { public void start(BackgroundAction action) { invoke(new DefaultMainAction() {