Closedown

This commit is contained in:
boccioli_m
2015-06-08 14:44:42 +02:00
parent 50e2bdf9db
commit d4ac71f13e

View File

@@ -112,7 +112,7 @@ public class TestingList extends Panel {
}
}
}
ImageIcon icon = new ImageIcon("/icons/button_reload.png");
ImageIcon icon = new ImageIcon(getClass().getResource("/icons/button_reload.png"));
jTable1.setValueAt(icon, rowD, COL_ICON);
if(colT>0 && rowD>0){
@@ -191,8 +191,7 @@ jTable1.setValueAt(icon, rowD, COL_ICON);
HashMap args = new HashMap();
args.put("relative", var1);
args.put("steps", var2);
run("power-supply", args);
for(int i=0 ; i<1000000 ; i++){}
run("power-supply", args);
//evalAsync("run('args', locals = {'relative':" + (var1 ? "True" :"False") + ", 'steps':" + var2 + "})");
@@ -215,7 +214,7 @@ jTable1.setValueAt(icon, rowD, COL_ICON);
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
model.addRow(new Object[] {false, sDate, "LS", "Check Status", "No comm", "Pending", icon});
model.addRow(new Object[] {false, sDate, "RS", "Calibrate", "Calibration done", "Pending", icon});
model.addRow(new Object[] {true, sDate, "RS", "Calibrate", "Calibration done", "Pending", icon});
model.addRow(new Object[] {false, sDate, "MWD", "Display Test", "Sequence terminated", "Pending", icon});
model.addRow(new Object[] {false, sDate, "FIXL", "Lamp Test", "Failure", "Pending", icon});
jTable1.setModel(model);