Closedown
This commit is contained in:
@@ -299,6 +299,7 @@
|
||||
<Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
|
||||
<SpinnerModel initial="0.0" maximum="90.0" minimum="0.0" numberType="java.lang.Double" stepSize="1.0" type="number"/>
|
||||
</Property>
|
||||
<Property name="enabled" type="boolean" value="false"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
|
||||
@@ -239,6 +239,7 @@ public class EnergyScan extends Panel {
|
||||
jLabel9.setText("Alpha:");
|
||||
|
||||
spinnerAlpha.setModel(new javax.swing.SpinnerNumberModel(0.0d, 0.0d, 90.0d, 1.0d));
|
||||
spinnerAlpha.setEnabled(false);
|
||||
|
||||
javax.swing.GroupLayout panelParametersLayout = new javax.swing.GroupLayout(panelParameters);
|
||||
panelParameters.setLayout(panelParametersLayout);
|
||||
@@ -449,6 +450,7 @@ public class EnergyScan extends Panel {
|
||||
spinnerDelay.setValue(Double.valueOf(tokens[3].trim()));
|
||||
comboMode.setSelectedIndex(Integer.valueOf(tokens[4].trim()));
|
||||
spinnerOffset.setValue(Double.valueOf(tokens[5].trim()));
|
||||
spinnerAlpha.setEnabled(comboMode.getSelectedItem().equals("LINEAR"));
|
||||
} catch (Exception ex) {
|
||||
SwingUtils.showException(this, ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user