Closedown
This commit is contained in:
@@ -783,9 +783,11 @@ public class XPSSpectrum extends Panel {
|
||||
private void comboPassActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_comboPassActionPerformed
|
||||
try {
|
||||
scienta = (Scienta) getDevice("Scienta");
|
||||
int energy = Integer.valueOf(comboPass.getSelectedItem().toString());
|
||||
if (energy != scienta.getPassEnergy()){
|
||||
scienta.setPassEnergy(energy);
|
||||
if (scienta!=null){
|
||||
int energy = Integer.valueOf(comboPass.getSelectedItem().toString());
|
||||
if (energy != scienta.getPassEnergy()){
|
||||
scienta.setPassEnergy(energy);
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
getLogger().log(Level.WARNING, null, ex);
|
||||
|
||||
Reference in New Issue
Block a user