Closedown
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user