|
|
@ -41,7 +41,7 @@ public class DownloadFileGUI extends JPanel{
|
|
|
|
|
|
|
|
|
|
|
|
public void download() {
|
|
|
|
public void download() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
clientManagement.download(fileToDownload);
|
|
|
|
//clientManagement.download(fileToDownload);
|
|
|
|
|
|
|
|
|
|
|
|
ErrorFrame erreur = new ErrorFrame("File " + fileToDownload + " sucessfully downloaded");
|
|
|
|
ErrorFrame erreur = new ErrorFrame("File " + fileToDownload + " sucessfully downloaded");
|
|
|
|
} catch (NumberFormatException e) {
|
|
|
|
} catch (NumberFormatException e) {
|
|
|
|