diff --git a/plugins/TestingList.java b/plugins/TestingList.java index af7b2fe..5dabd86 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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(){