Closedown

This commit is contained in:
gac-x03da
2023-08-17 18:15:45 +02:00
parent fcc31f7082
commit 0b29f47731
7 changed files with 50 additions and 52 deletions

View File

@@ -179,7 +179,7 @@ public class XPSSpectrum extends ScriptProcessor {
scienta.getChild(scienta.getName() + " total points").addListener(progressListener);
}
dvpAcqTime.setDevice((Device)getScienta("getAcquisitionTime"));
comboPass.setSelectedItem((Integer)getScienta("getPassEnergy"));
comboPass.setSelectedItem(getScienta("getPassEnergy").toString());
} catch (Exception ex) {
Logger.getLogger(XPSSpectrum.class.getName()).log(Level.SEVERE, null, ex);
}
@@ -455,8 +455,7 @@ public class XPSSpectrum extends ScriptProcessor {
valueTime.setShowButtons(false);
valueTime.setValue(1.0);
comboPass.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2", "5", "10", "20", "50", "100", "200" }));
comboPass.setSelectedIndex(4);
comboPass.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "5", "10", "20", "50", "100", "200" }));
comboPass.setToolTipText("");
comboPass.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -675,7 +674,6 @@ public class XPSSpectrum extends ScriptProcessor {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(btSave))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(radioInitial)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(radioDetailed)