boolean () { final ProgressIndicator indicator = myProgressTask.getIndicator(); if (indicator != null) { indicator.setFraction((double) myIdx/mySize); } myRunnables.next().run(); myIdx++; return true; }