31 /** |
31 /** |
32 * Main menu bar. |
32 * Main menu bar. |
33 */ |
33 */ |
34 public class MainMenu { |
34 public class MainMenu { |
35 |
35 |
36 private ActionHandler handler; |
36 private final ActionHandler handler; |
37 private JMenuBar menuBar; |
37 private final JMenuBar menuBar; |
38 |
38 |
39 public MainMenu(ActionHandler h) { |
39 public MainMenu(ActionHandler h) { |
40 handler = h; |
40 handler = h; |
41 menuBar = new JMenuBar(); |
41 menuBar = new JMenuBar(); |
42 menuBar.add(createMenu("Datei", 'd', |
42 menuBar.add(createMenu("Datei", 'd', |