}
private JPanel createSpeedPanel(MainSynchronizer synchronizer) {
JPanel speedPanel = new JPanel();
speedPanel.setLayout(new BoxLayout(speedPanel, BoxLayout.LINE_AXIS));
SpeedAction actionNormalSpeed = new SpeedAction(synchronizer, "Normal", "Normal speed", Mnemonics.SPEED_NORMAL,
Speed.NORMAL.name());
JRadioButton normalSpeed = new JRadioButton(actionNormalSpeed);
SpeedAction actionFastSpeed = new SpeedAction(synchronizer, "Fast", "Fast speed (about 5 times faster))",
Mnemonics.SPEED_FAST, Speed.FAST.name());
JRadioButton fastSpeed = new JRadioButton(actionFastSpeed);
SpeedAction actionVeryFastSpeed = new SpeedAction(synchronizer, "Very fast",
"Very fast speed (about 20 times faster)", Mnemonics.SPEED_VERY_FAST, Speed.VERY_FAST.name());
JRadioButton veryFastSpeed = new JRadioButton(actionVeryFastSpeed);
Speed speed = synchronizer.getSpeed();
normalSpeed.setSelected(speed == Speed.NORMAL);