Closedown
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user