myLabel.setBorder(BorderFactory.createEmptyBorder(0,5,5,5));
getContentPane().setLayout(new BorderLayout());
getContentPane().add(myProgressBar, BorderLayout.CENTER);
JPanel labelAndButton = new JPanel(new BorderLayout());
labelAndButton.add(myLabel, BorderLayout.CENTER);
JButton cancelButton = new JButton(new CancelAction() {
public void actionPerformed(ActionEvent e) {
myProgressMonitor.setCanceled(true);
//System.err.println("\n\n"+Platform.getJobManager().currentJob().getName()+"\n\n");
//Platform.getJobManager().currentJob().cancel();
}