diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 2a5d8c2..231c286 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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;