edit de Menu()

This commit is contained in:
NonoL3Robot
2021-11-28 19:19:50 +01:00
parent 4f8f652061
commit a40386a896
5 changed files with 33 additions and 11 deletions
@@ -40,9 +40,9 @@ public class SelectionnerFichier {
File file;
int returnValue = fileChooser.showOpenDialog(null);
if (returnValue == JFileChooser.APPROVE_OPTION) {
file = new File(fileChooser.getSelectedFile().getPath());
file = new File(fileChooser.getSelectedFile().getAbsolutePath());
} else {
file = null;
file = null;
}
return file;
}