@Override
  public void run() {
    JMenuBar burpJMenuBar = rootPane.getJMenuBar();
    autoRepeaterJMenu = new JMenu("AutoRepeater");
    // initialize menu items and add action listeners
    JMenuItem duplicateCurrentTab = new JMenuItem("Duplicate Selected Tab");
    duplicateCurrentTab.addActionListener(new DuplicateCurrentTabListener());

    toggleSettingsVisibility = new JMenuItem("Hide Settings Panel");
    toggleSettingsVisibility.addActionListener(new SettingVisibilityListener());
    JCheckBoxMenuItem toggleSendRequestsToPassiveScanner = new JCheckBoxMenuItem("Send Requests To Passive Scanner");
    toggleSendRequestsToPassiveScanner.addActionListener(l ->
        sendRequestsToPassiveScanner = toggleSendRequestsToPassiveScanner.getState());

    JCheckBoxMenuItem toggleAddRequestsToSiteMap = new JCheckBoxMenuItem("Add Requests To Site Map");
    toggleAddRequestsToSiteMap.addActionListener(l ->
        addRequestsToSiteMap = toggleAddRequestsToSiteMap.getState());

    JMenuItem showImportMenu = new JMenuItem("Import Settings");
    showImportMenu.addActionListener(new ImportSettingListener());

    JMenuItem showExportMenu = new JMenuItem("Export Settings");
    showExportMenu.addActionListener(new ExportSettingListener());

    JMenuItem showExportLogsMenu = new JMenuItem("Export Logs");
    showExportLogsMenu.addActionListener(new ExportLogsListener());
    // add menu items to the menu
    autoRepeaterJMenu.add(duplicateCurrentTab);
    autoRepeaterJMenu.add(toggleSettingsVisibility);
    autoRepeaterJMenu.addSeparator();
    autoRepeaterJMenu.add(toggleAddRequestsToSiteMap);
    autoRepeaterJMenu.add(toggleSendRequestsToPassiveScanner);
    autoRepeaterJMenu.addSeparator();
    autoRepeaterJMenu.add(showImportMenu);
    autoRepeaterJMenu.add(showExportMenu);
    autoRepeaterJMenu.add(showExportLogsMenu);
    // add menu to menu bar
    burpJMenuBar.add(autoRepeaterJMenu, burpJMenuBar.getMenuCount() - 2);
  }
Action listener for export logs menu.
src/burp/Utils/AutoRepeaterMenu.java