Closedown
This commit is contained in:
@@ -52,7 +52,11 @@ public class TestingList extends Panel {
|
||||
|
||||
@Override
|
||||
protected JPanel create() {
|
||||
testingList = new NetbeansPluginPanel();
|
||||
try {
|
||||
testingList = new NetbeansPluginPanel();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
return testingList;
|
||||
}
|
||||
|
||||
@@ -83,9 +87,10 @@ public class TestingList extends Panel {
|
||||
|
||||
public class NetbeansPluginPanel extends MonitoredPanel {
|
||||
|
||||
public NetbeansPluginPanel() {
|
||||
public NetbeansPluginPanel() throws IOException {
|
||||
initComponents();
|
||||
buildTable();
|
||||
loadTests();
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
@@ -326,11 +331,12 @@ public class TestingList extends Panel {
|
||||
public void loadTests() throws FileNotFoundException, IOException{
|
||||
Properties prop = new Properties();
|
||||
String fileName = "../script/test/devces/LS";
|
||||
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"));
|
||||
addToTable(("name"), ("description"));
|
||||
//System.out.println(prop.getProperty("tests"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user