Closedown

This commit is contained in:
boccioli_m
2015-06-09 11:27:14 +02:00
parent 29dd4ecfc2
commit 9a547d8474

View File

@@ -361,7 +361,7 @@ public class TestingList extends Panel {
Properties prop = new Properties();
String fileName = new java.io.File( "." ).getCanonicalPath()+ "\\home\\script\\tests\\devices\\";
this.jTextField1.setText(fileName + "\n");
File folder = new File(fileName);
/* File folder = new File(fileName);
File[] listOfFiles = folder.listFiles();
for (File listOfFile : listOfFiles) {
@@ -370,7 +370,7 @@ public class TestingList extends Panel {
} else if (listOfFile.isDirectory()) {
this.jTextField1.append("Directory " + listOfFile.getName());
}
}
}*/
InputStream is = new FileInputStream(fileName);
prop.load(is);