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