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