Closedown
This commit is contained in:
@@ -73,6 +73,24 @@ public class TestingList extends Panel {
|
||||
buildTable();
|
||||
}
|
||||
@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);
|
||||
|
||||
Reference in New Issue
Block a user