Closedown

This commit is contained in:
boccioli_m
2015-06-10 11:13:26 +02:00
parent fc7a55dde4
commit cf681badf0

View File

@@ -344,6 +344,7 @@ public class TestingList extends Panel {
public String[] getTestInProgress() {
String[] dsTestProperties = null;
//search for device name in table
try{
for (int row = 0; row <= jTable1.getRowCount() - 1; row++) {
if (jTable1.getValueAt(row, COL_STATUS).toString().equals("Running")) {
dsTestProperties[0] = jTable1.getValueAt(row, COL_DEVICENAME).toString();
@@ -351,7 +352,13 @@ public class TestingList extends Panel {
break;
}
}
return dsTestProperties;
}
catch (Exception ex) {
SwingUtils.showMessage(this, "", ex.toString());
}
finally{
return dsTestProperties;
}
}
//returns the status of the specified test name for specified device name