Settings.scrollSensitivity = Integer.parseInt(scrollSensitivity.getText());
Settings.setScrollSensitivity( 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.rightDragScroll   = rightDragScroll.getState();        Settings.ctlScroll         = ctlScroll.getState();        Settings.clickEdgeScroll   = clickEdgeScroll.getState();        Settings.autoEdgeScroll    = autoEdgeScroll.getState();        Settings.scrollSensitivity = Integer.parseInt(scrollSensitivity.getText());        Settings.maxPathfinderTime =   Integer.parseInt(maxPathfinderTime.getText());        Settings.getFocus =       getFocus.getState();        Settings.save();        this.setVisible( false );    }