* Method to capture {@link ThreadPoolEvent}s
* @param threadPoolEvent The {@link ThreadPoolEvent} has been fired.
*/
public void threadPoolActionPerformed(ThreadPoolEvent threadPoolEvent) {
final int type = threadPoolEvent.getType();
final ThreadPoolObserver obs = (ThreadPoolObserver) threadPoolEvent.getSource();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
/**
* Update main progress bar
*/
int cur = obs.getLastRunCompletedTaskCount();
int max = obs.getLastRunTaskCount();
String text = getLabel("progressbar.resolving.label");
if (checkMode) {
text = getLabel("progressbar.checking.label");
} else if (installMode) {