private void loadPreferences(ISettingsManager robocodeProperties) { getEnableSoundCheckBox().setSelected(robocodeProperties.getOptionsSoundEnableSound()); getEnableGunshotCheckBox().setSelected(robocodeProperties.getOptionsSoundEnableGunshot()); getEnableBulletHitCheckBox().setSelected(robocodeProperties.getOptionsSoundEnableBulletHit()); getEnableRobotDeathCheckBox().setSelected(robocodeProperties.getOptionsSoundEnableRobotDeath()); getEnableRobotCollisionCheckBox() .setSelected(robocodeProperties.getOptionsSoundEnableRobotCollision()); getEnableWallCollisionCheckBox() .setSelected(robocodeProperties.getOptionsSoundEnableWallCollision()); getEnableMixerVolumeCheckBox() .setSelected(robocodeProperties.getOptionsSoundEnableMixerVolume()); getEnableMixerPanCheckBox().setSelected(robocodeProperties.getOptionsSoundEnableMixerPan()); setMixerCompoBox(robocodeProperties.getOptionsSoundMixer()); }