src/main/java/de/uapcore/sudoku/MainMenu.java

changeset 12
1c62c6009161
parent 10
369903afbb29
child 14
959e13642554
equal deleted inserted replaced
11:f7433671fec5 12:1c62c6009161
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',

mercurial