pb.setIndeterminate(true);
panel.add(pb, BorderLayout.CENTER);
final JButton button = new Button(localizer.getValue(HelperResource.RES_LABEL_CANCEL_TASK), view.getController()
.getScaledIcon(Icon.CANCEL), localizer.getTooltip(HelperResource.RES_LABEL_CANCEL_TASK));
button.addActionListener(new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
task.getWorker().cancel(true);
}