Closedown

This commit is contained in:
boccioli_m
2015-06-11 10:47:54 +02:00
parent 63d0c1d4dd
commit 56901d8710

View File

@@ -275,11 +275,13 @@ public class TestingList extends Panel {
private void setButtonToStop(){
this.jButtonRun.setToolTipText("Run selected tests");
jButtonRun.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/button_play-64px.png")));
this.jTable1.enableInputMethods(true);
}
private void setButtonToStart(){
this.jButtonRun.setToolTipText("Stop tests");
jButtonRun.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/button_stop-64px.png")));
this.jTable1.enableInputMethods(false);
}
@@ -412,6 +414,7 @@ public class TestingList extends Panel {
}
catch (Exception ex) {
SwingUtils.showMessage(this, "getTestInProgress()", ex.toString());
this.setButtonToStop();
}
finally{
return dsTestProperties;
@@ -545,7 +548,7 @@ public class TestingList extends Panel {
File testsFolder = null;
String sTestName;
int iCounter = 0;
//search of devices and their tests
//search devices and their tests
//Scan the list of devices
File[] listOfFiles = folder.listFiles();
for (File listOfFile : listOfFiles) {