private JMenu createOptionsMenu() {
        //Set up options menu.
        JMenu optionsMenu = new JMenu("Options");
        optionsMenu.setMnemonic(KeyEvent.VK_O);
        
        JMenuItem menuItem = null;
        Action[] actions = {locationAction, conditionAction};
        for(Action action : actions) {
            menuItem = new JMenuItem(action);
            menuItem.setIcon(null);
            optionsMenu.add(menuItem);
        }
        
        return optionsMenu;

    }