diff --git a/analyseWriter.jar b/analyseWriter.jar index 7f0e745..458b4f8 100644 Binary files a/analyseWriter.jar and b/analyseWriter.jar differ diff --git a/bin/fenetres/filechooserXML.class b/bin/fenetres/filechooserXML.class index 0662a12..fd567e3 100644 Binary files a/bin/fenetres/filechooserXML.class and b/bin/fenetres/filechooserXML.class differ diff --git a/src/fenetres/filechooserXML.java b/src/fenetres/filechooserXML.java index 286829e..49daf80 100644 --- a/src/fenetres/filechooserXML.java +++ b/src/fenetres/filechooserXML.java @@ -59,10 +59,11 @@ public class filechooserXML extends JFileChooser { private void openFileXML(File file) { commandes.fichierAnalyseValide=true; + System.out.println("commandes.path="+file.getPath()); if(file.getPath().lastIndexOf("\\")>0) { - commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\")); + commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\")); // Sur Windows }else { - commandes.path = file.getPath(); + commandes.path = file.getPath(); // Sur mac } commandes.PathFilenameAnalysis = getCurrentDirectory().getPath();