diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 09cfbcc..bb09d26 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -340,9 +340,12 @@ public class TestingList extends Panel { Properties prop = new Properties(); FileInputStream fc = null; try{ - String fileName = "/../script/tests/devices/LS/.config"; - File file = new File(fileName); - fc = new FileInputStream(file); + + + + ClassLoader classLoader = getClass().getClassLoader(); + File file = new File(classLoader.getResource("../script/tests/devices/LS/.config").getFile()); + fc = new FileInputStream(file); this.jTextField1.setText(fc.toString()); //prop.load(fc);