Program: 131118
Project: 131118
Buggy source:
private void buildMenu(){
  fileChooser.setMultiSelectionEnabled(true);
  menuScanTextField.addKeyListener(this);
  JMenu menuFile=new JMenu("String_Node_Str");
  JMenuItem exit=new JMenuItem(new AbstractAction("String_Node_Str"){
    @Override public void actionPerformed(    ActionEvent t){
      System.exit(0);
    }
  }
);
  menuFile.add(exit);
  JMenu menuEvents=new JMenu("String_Node_Str");
  JMenuItem loadLocal=new JMenuItem("String_Node_Str");
  loadLocal.setActionCommand("String_Node_Str");
  loadLocal.addActionListener(this);
  JMenuItem loadS3=new JMenuItem("String_Node_Str");
  loadS3.setActionCommand("String_Node_Str");
  loadS3.addActionListener(this);
  if (!PropertiesSingleton.getInstance().validS3Credentials()) {
    loadS3.setEnabled(false);
  }
  JMenuItem clearDatabase=new JMenuItem(new AbstractAction("String_Node_Str"){
    @Override public void actionPerformed(    ActionEvent t){
      eventsDatabase.clear();
    }
  }
);
  menuEvents.add(loadLocal);
  menuEvents.add(loadS3);
  menuEvents.addSeparator();
  menuEvents.add(clearDatabase);
  JMenu menuServices=new JMenu("String_Node_Str");
  JMenuItem eventsByService=new JMenuItem("String_Node_Str");
  eventsByService.setActionCommand("String_Node_Str");
  eventsByService.addActionListener(this);
  menuServices.add(eventsByService);
  JMenu menuScan=new JMenu("String_Node_Str");
  menuScan.add(menuScanTextField);
  menuScan.addSeparator();
  menuScan.addMenuListener(new MenuListener(){
    @Override public void menuCanceled(    MenuEvent e){
    }
    @Override public void menuDeselected(    MenuEvent e){
    }
    @Override public void menuSelected(    MenuEvent e){
      EventQueue.invokeLater(new Runnable(){
        @Override public void run(){
          menuScanTextField.grabFocus();
        }
      }
);
    }
  }
);
  menusMap.put("String_Node_Str",menuScan);
  JMenu menuAbout=new JMenu("String_Node_Str");
  JMenuItem about=new JMenuItem("String_Node_Str" + jCloudTrailViewer.VERSION);
  menuAbout.add(about);
  this.add(menuFile);
  this.add(menuEvents);
  this.add(menuServices);
  this.add(menuScan);
  createMenusFromFile();
  this.add(menuAbout);
}

Fixed version (ground truth):
private void buildMenu(){
  fileChooser.setMultiSelectionEnabled(true);
  menuScanTextField.addKeyListener(this);
  JMenu menuFile=new JMenu("String_Node_Str");
  JMenuItem exit=new JMenuItem(new AbstractAction("String_Node_Str"){
    @Override public void actionPerformed(    ActionEvent t){
      System.exit(0);
    }
  }
);
  menuFile.add(exit);
  JMenu menuEvents=new JMenu("String_Node_Str");
  JMenuItem loadLocal=new JMenuItem("String_Node_Str");
  loadLocal.setActionCommand("String_Node_Str");
  loadLocal.addActionListener(this);
  JMenuItem loadS3=new JMenuItem("String_Node_Str");
  loadS3.setActionCommand("String_Node_Str");
  loadS3.addActionListener(this);
  if (!PropertiesSingleton.getInstance().validS3Credentials()) {
    loadS3.setEnabled(false);
  }
  JMenuItem clearDatabase=new JMenuItem(new AbstractAction("String_Node_Str"){
    @Override public void actionPerformed(    ActionEvent t){
      eventsDatabase.clear();
    }
  }
);
  menuEvents.add(loadLocal);
  menuEvents.add(loadS3);
  menuEvents.addSeparator();
  menuEvents.add(clearDatabase);
  JMenu menuServices=new JMenu("String_Node_Str");
  JMenuItem eventsByService=new JMenuItem("String_Node_Str");
  eventsByService.setActionCommand("String_Node_Str");
  eventsByService.addActionListener(this);
  menuServices.add(eventsByService);
  JPanel scanSearchPanel=new JPanel();
  scanSearchPanel.setBackground(Color.WHITE);
  scanSearchPanel.setLayout(new BorderLayout());
  JLabel iconLabel=new JLabel();
  try {
    iconLabel.setIcon(new ImageIcon(this.getClass().getClassLoader().getResource("String_Node_Str")));
  }
 catch (  Exception e) {
  }
  scanSearchPanel.add(iconLabel,BorderLayout.WEST);
  scanSearchPanel.add(menuScanTextField,BorderLayout.CENTER);
  JMenu menuScan=new JMenu("String_Node_Str");
  menuScan.add(scanSearchPanel);
  menuScan.addSeparator();
  menuScan.addMenuListener(new MenuListener(){
    @Override public void menuCanceled(    MenuEvent e){
    }
    @Override public void menuDeselected(    MenuEvent e){
    }
    @Override public void menuSelected(    MenuEvent e){
      EventQueue.invokeLater(new Runnable(){
        @Override public void run(){
          menuScanTextField.grabFocus();
        }
      }
);
    }
  }
);
  menusMap.put("String_Node_Str",menuScan);
  JMenu menuAbout=new JMenu("String_Node_Str");
  JMenuItem about=new JMenuItem("String_Node_Str" + jCloudTrailViewer.VERSION);
  menuAbout.add(about);
  this.add(menuFile);
  this.add(menuEvents);
  this.add(menuServices);
  this.add(menuScan);
  createMenusFromFile();
  this.add(menuAbout);
}