private static JMenuBar createMainMenu(BrowserComponentManager manager) {
JMenuBar mainMenu = new JMenuBar();
JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('F');
JMenuItem openItem = fileMenu.add(new OpenAction(manager));
openItem.setAccelerator(KeyStroke.getKeyStroke("control O"));
openItem.setMnemonic('O');
JMenu recentMenu = new JMenu("Open Recent");
recentMenu.addMenuListener(new RecentMenu(manager, recentMenu));
JMenuItem recentItem = fileMenu.add(recentMenu);