This commit is contained in:
voulot_d
2017-08-15 09:49:59 +02:00
parent 7110c6a35c
commit 73c0cf9798
38 changed files with 354 additions and 795 deletions
@@ -12,9 +12,9 @@ import javax.swing.JSpinner;
/**
*
*/
public class GunScan extends Panel {
public class GunEnergyScan extends Panel {
public GunScan() {
public GunEnergyScan() {
initComponents();
setPersistedComponents(SwingUtils.getComponentsByType(panelScanPars, JSpinner.class));
plot.setStyle(LinePlotJFree.Style.ErrorY);
@@ -264,7 +264,7 @@ public class GunScan extends Panel {
parameters.add((Double) spinnerEnergy.getValue());
parameters.add(plot);
try {
runAsync("RFscan/GunScan", parameters).handle((ret, ex) -> {
runAsync("RFscan/GunEnergyScan", parameters).handle((ret, ex) -> {
if (ex != null) {
getLogger().info("Exception executing scan: " + ex);
showException((Exception) ex);