Closedown

This commit is contained in:
boccioli_m
2015-06-09 10:33:23 +02:00
parent d8e75af8cc
commit 9df064035f

View File

@@ -372,15 +372,13 @@ public class TestingList extends Panel {
public void loadTests() throws FileNotFoundException, IOException{
Properties prop = new Properties();
ClassLoader classLoader = getClass().getClassLoader();
String fileName = classLoader.getResource(".config").getPath();
fileName = new java.io.File( "." ).getCanonicalPath();
String fileName = new java.io.File( "." ).getCanonicalPath() + "/script/tests/devices/LS/.config";
this.jTextField1.setText(fileName);
//InputStream is = new FileInputStream(fileName);
InputStream is = new FileInputStream(fileName);
//prop.load(is);
prop.load(is);
//addToTable(prop.getProperty("name"), prop.getProperty("description"));
addToTable(prop.getProperty("name"), prop.getProperty("description"));
}
public void selectFile(){