Closedown

This commit is contained in:
boccioli_m
2015-06-09 08:41:46 +02:00
parent 6d5bbb7533
commit 530d2c6b9c
37 changed files with 650 additions and 5 deletions

View File

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