MAJ
This commit is contained in:
parent
01a4385195
commit
fdacdc5856
Binary file not shown.
Binary file not shown.
@ -59,10 +59,11 @@ public class filechooserXML extends JFileChooser {
|
|||||||
|
|
||||||
private void openFileXML(File file) {
|
private void openFileXML(File file) {
|
||||||
commandes.fichierAnalyseValide=true;
|
commandes.fichierAnalyseValide=true;
|
||||||
|
System.out.println("commandes.path="+file.getPath());
|
||||||
if(file.getPath().lastIndexOf("\\")>0) {
|
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 {
|
}else {
|
||||||
commandes.path = file.getPath();
|
commandes.path = file.getPath(); // Sur mac
|
||||||
}
|
}
|
||||||
|
|
||||||
commandes.PathFilenameAnalysis = getCurrentDirectory().getPath();
|
commandes.PathFilenameAnalysis = getCurrentDirectory().getPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user