Closedown

This commit is contained in:
boccioli_m
2015-06-09 09:05:57 +02:00
parent 546a428abe
commit 0cfae8d1e2
2 changed files with 17 additions and 2 deletions

View File

@@ -157,6 +157,7 @@ public class TestingList extends Panel {
jScrollPane2 = new javax.swing.JScrollPane();
jTable1 = new javax.swing.JTable();
jCheckBox1 = new javax.swing.JCheckBox();
jTextField1 = new javax.swing.JTextField();
setLayout(new java.awt.BorderLayout());
@@ -222,6 +223,9 @@ public class TestingList extends Panel {
}
});
add(jCheckBox1, java.awt.BorderLayout.LINE_START);
jTextField1.setText("jTextField1");
add(jTextField1, java.awt.BorderLayout.PAGE_START);
}// </editor-fold>//GEN-END:initComponents
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
@@ -292,6 +296,7 @@ public class TestingList extends Panel {
private javax.swing.JCheckBox jCheckBox1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1;
// End of variables declaration//GEN-END:variables
//table management
@@ -330,9 +335,9 @@ public class TestingList extends Panel {
public void loadTests() throws FileNotFoundException, IOException{
Properties prop = new Properties();
String fileName = "../script/tests/devces/LS/.config";
String fileName = "/../script/tests/devces/LS/.config";
InputStream is = new FileInputStream(fileName);
this.jTextField1.setText(is.toString());
prop.load(is);
//addToTable(prop.getProperty("name"), prop.getProperty("description"));