showMapsheets.setState(gs.getShowMapsheets());
    public void show() {        GUIPreferences gs = GUIPreferences.getInstance();        IClientPreferences cs = PreferenceManager.getClientPreferences();                minimapEnabled.setState( gs.getMinimapEnabled() );        autoEndFiring.setState( gs.getAutoEndFiring() );        nagForMASC.setState( gs.getNagForMASC() );        nagForPSR.setState( gs.getNagForPSR() );        nagForNoAction.setState( gs.getNagForNoAction() );        animateMove.setState( gs.getShowMoveStep() );        showWrecks.setState( gs.getShowWrecks() );        soundMute.setState( gs.getSoundMute() );        showMapHexPopup.setState( gs.getShowMapHexPopup() );        tooltipDelay.setText( Integer.toString(gs.getTooltipDelay() ) );        // Select the correct char set (give a nice default to start).        unitStartChar.select(0);        for ( int loop = 0; loop < unitStartChar.getItemCount(); loop++ ) {            if ( unitStartChar.getItem(loop).charAt(0) ==                 PreferenceManager.getClientPreferences().getUnitStartChar() ) {                unitStartChar.select(loop);                break;            }        }        maxPathfinderTime.setText( Integer.toString(cs.getMaxPathfinderTime() ) );        rightDragScroll.setState( gs.getRightDragScroll() );        ctlScroll.setState( gs.getCtlScroll() );        clickEdgeScroll.setState( gs.getClickEdgeScroll() );        alwaysRightClickScroll.setState( gs.getAlwaysRightClickScroll() );        autoEdgeScroll.setState( gs.getAutoEdgeScroll() );        scrollSensitivity.setText( Integer.toString(gs.getScrollSensitivity() ) );        keepServerlog.setState( cs.keepServerlog() );        serverlogFilename.setEnabled(keepServerlog.getState());        serverlogFilename.setText( cs.getServerlogFilename() );        serverlogMaxSize.setEnabled(keepServerlog.getState());        serverlogMaxSize.setText( Integer.toString(cs.getServerlogMaxSize()) );        defaultAutoejectDisabled.setState( cs.defaultAutoejectDisabled() );        showUnitId.setState( cs.getShowUnitId() );        int index = 0;        if (cs.getLocaleString().startsWith("de"))            index = 1;        if (cs.getLocaleString().startsWith("ru"))            index = 2;        locale.select(index);                chatloungeTabs.setState(gs.getChatLoungeTabs() );                getFocus.setState( gs.getFocus() );        super.show();    }