Closedown

This commit is contained in:
boccioli_m
2015-06-09 09:42:14 +02:00
parent e9dfa5cc48
commit 2e5dcf8885

View File

@@ -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);