traduction

This commit is contained in:
Marco ORFAO 2024-04-16 17:34:00 +02:00
parent e9ec7f5036
commit 8f6ff0aaf2

View File

@ -61,7 +61,7 @@ public class FileManager {
fileChooser.setFileFilter(new FileNameExtensionFilter("Fichiers de grille (.gri)", "gri"));
int userSelection = fileChooser.showOpenDialog(null);
if (userSelection == JFileChooser.APPROVE_OPTION) {
// Obtention du nom de fichier choisi par l'utilisateur
// Obtain user-selected file name
String fileName = fileChooser.getSelectedFile().getAbsolutePath();
try (BufferedReader reader = new BufferedReader(new FileReader(fileName))) {
Grille grid = new Grille();