private JMenu createFileMenu() {
        //Set up file menu.
        JMenu fileMenu = new JMenu("File");
        fileMenu.setMnemonic(KeyEvent.VK_F);

        JMenuItem menuItem = null;
        Action[] actions = {newRegisterAction, openRegisterAction, saveRegisterAction, exitRegisterAction};
        for(Action action : actions) {
            menuItem = new JMenuItem(action);
            menuItem.setIcon(null);
            fileMenu.add(menuItem);
        }
        
        return fileMenu;
    }