Closedown

This commit is contained in:
gobbo_a
2017-09-05 14:16:03 +02:00
parent 00003869e0
commit 0c1d63ae9a
9 changed files with 38 additions and 278 deletions

View File

@@ -2697,14 +2697,18 @@ public class ScreenPanel extends Panel {
source.getConfig().colormapAutomatic = buttonAutomatic.isSelected();
source.getConfig().colormapMin = buttonFullRange.isSelected() ? Double.NaN : (Integer) spinnerMin.getValue();
source.getConfig().colormapMax = buttonFullRange.isSelected() ? Double.NaN : (Integer) spinnerMax.getValue();
source.getConfig().save();
try{
source.getConfig().save();
} catch (Exception ex){
Logger.getLogger(ScreenPanel.class.getName()).log(Level.WARNING, null, ex);
}
source.refresh();
if (buttonPause.isSelected()) {
updatePause();
}
updateColormap();
}
} catch (Exception ex) {
} catch (Exception ex) {
showException(ex);
}
}//GEN-LAST:event_onChangeColormap