Settings.shiftScrollSensitivity =   Integer.parseInt(shiftScrollSensitivity.getText()); Settings.explicitScrollOnly= explicitScrollOnly.getState(); Settings.alwaysScrollOnRightClick = alwaysScrollOnRightClick.getState();
Settings.rightDragScroll   = rightDragScroll.getState(); Settings.tabScroll         = tabScroll.getState(); Settings.clickEdgeScroll   = clickEdgeScroll.getState(); Settings.autoEdgeScroll    = autoEdgeScroll.getState(); Settings.scrollSensitivity = Integer.parseInt(scrollSensitivity.getText());
    private void update() {        Settings.minimapEnabled = minimapEnabled.getState();        Settings.autoEndFiring =  autoEndFiring.getState();        Settings.nagForMASC =     nagForMASC.getState();        Settings.nagForPSR =      nagForPSR.getState();        Settings.nagForNoAction = nagForNoAction.getState();        Settings.showMoveStep =   animateMove.getState();        Settings.showWrecks =     showWrecks.getState();        Settings.soundMute =      soundMute.getState();        Settings.showMapHexPopup= showMapHexPopup.getState();        Settings.tooltipDelay =   Integer.parseInt(tooltipDelay.getText());        Settings.unitStartChar=   unitStartChar.getSelectedItem().charAt(0);        Settings.shiftScrollSensitivity =   Integer.parseInt(shiftScrollSensitivity.getText());        Settings.explicitScrollOnly= explicitScrollOnly.getState();        Settings.alwaysScrollOnRightClick = alwaysScrollOnRightClick.getState();        Settings.maxPathfinderTime =   Integer.parseInt(maxPathfinderTime.getText());        Settings.getFocus =       getFocus.getState();        Settings.save();        this.setVisible( false );    }