Closedown

This commit is contained in:
boccioli_m
2015-06-05 14:41:54 +02:00
parent d552f862f1
commit bbae2c7937

View File

@@ -75,22 +75,7 @@ public class TestingList extends Panel {
@SuppressWarnings("unchecked")
protected void onExecutedFile(String fileName) {
try {
switch(fileName){
case "power-supply":
Object ret = eval("ret");
if (ret != null) {
showResult(ret.toString());
}
break;
}
}
catch (Exception ex) {
}
}
public void showResult(String res){
txtOutput.setText(res);
@@ -186,6 +171,22 @@ public class TestingList extends Panel {
}
}//GEN-LAST:event_jButton1ActionPerformed
public void onExecutedFile(String fileName) {
try {
switch(fileName){
case "power-supply":
Object ret = eval("ret");
if (ret != null) {
showResult(ret.toString());
}
break;
}
}
catch (Exception ex) {
}
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private ch.psi.pshell.swing.DeviceStatePanel deviceStatePanel1;
private javax.swing.JButton jButton1;