NewEmptyAction newEmptyAction = new NewEmptyAction(application);
JMenuItem newEmptyItem = new JMenuItem(newEmptyAction);
fileMenu.add(newEmptyItem);
NewRandomAction newRandomAction = new NewRandomAction(application);
JMenuItem newRandomItem = new JMenuItem(newRandomAction);
fileMenu.add(newRandomItem);
OpenAction openAction = new OpenAction(application);
JMenuItem openItem = new JMenuItem(openAction);