if (event.getPropertyName().equals("progress")) {
pbDescarga.setValue((Integer) event.getNewValue());
}
}
});
descarga.execute();
} catch (Exception e) {
if (e instanceof MalformedURLException)
JOptionPane.showMessageDialog(null, "La URL no es correcta", "Descargar Fichero", JOptionPane.ERROR_MESSAGE);
else if (e instanceof FileNotFoundException)