Program: 37681
Project: 37681
Buggy source:
private void setupMenus(){
  menuBar=new JMenuBar();
  fileMenu=new JMenu("String_Node_Str");
  newItem=new JMenuItem("String_Node_Str");
  newItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(newItem);
  openItem=new JMenuItem("String_Node_Str");
  openItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(openItem);
  fileMenu.addSeparator();
  revertItem=new JMenuItem("String_Node_Str");
  revertItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(revertItem);
  fileMenu.addSeparator();
  saveItem=new JMenuItem("String_Node_Str");
  saveItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(saveItem);
  saveAsItem=new JMenuItem("String_Node_Str");
  saveAsItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(saveAsItem);
  fileMenu.addSeparator();
  closeItem=new JMenuItem("String_Node_Str");
  closeItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(closeItem);
  fileMenu.addSeparator();
  printItem=new JMenuItem("String_Node_Str");
  printItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      System.out.println("String_Node_Str");
    }
  }
);
  fileMenu.add(printItem);
  if (RopeHelper.isMac) {
    registerForMacOSXEvents();
  }
 else {
    fileMenu.addSeparator();
    prefsItem=new JMenuItem("String_Node_Str");
    prefsItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        doPreferences();
      }
    }
);
    fileMenu.add(prefsItem);
    fileMenu.addSeparator();
    quitItem=new JMenuItem("String_Node_Str");
    quitItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        WindowEvent event=new WindowEvent(RopeFrame.this,WindowEvent.WINDOW_CLOSING);
        Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event);
      }
    }
);
    fileMenu.add(quitItem);
    helpMenu=new JMenu("String_Node_Str");
    aboutItem=new JMenuItem("String_Node_Str");
    aboutItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        aboutRope();
      }
    }
);
    helpMenu.add(aboutItem);
  }
  editMenu=new JMenu("String_Node_Str");
  undoItem=new JMenuItem("String_Node_Str");
  undoItem.setEnabled(false);
  undoItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,RopeHelper.modifierMaks));
  undoItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(undoItem);
  redoItem=new JMenuItem("String_Node_Str");
  redoItem.setEnabled(false);
  redoItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,RopeHelper.modifierMaks + Event.SHIFT_MASK));
  redoItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(redoItem);
  editMenu.addSeparator();
  cutItem=new JMenuItem("String_Node_Str");
  cutItem.setEnabled(false);
  cutItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X,RopeHelper.modifierMaks));
  cutItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(cutItem);
  copyItem=new JMenuItem("String_Node_Str");
  copyItem.setEnabled(false);
  copyItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C,RopeHelper.modifierMaks));
  copyItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(copyItem);
  pasteItem=new JMenuItem("String_Node_Str");
  pasteItem.setEnabled(false);
  pasteItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V,RopeHelper.modifierMaks));
  pasteItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(pasteItem);
  editMenu.addSeparator();
  deleteItem=new JMenuItem("String_Node_Str");
  deleteItem.setEnabled(false);
  deleteItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(deleteItem);
  editMenu.addSeparator();
  selectAllItem=new JMenuItem("String_Node_Str");
  selectAllItem.setEnabled(false);
  selectAllItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A,RopeHelper.modifierMaks));
  selectAllItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(selectAllItem);
  selectLineItem=new JMenuItem("String_Node_Str");
  selectLineItem.setEnabled(false);
  selectLineItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L,RopeHelper.modifierMaks));
  selectLineItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(selectLineItem);
  menuBar.add(fileMenu);
  menuBar.add(editMenu);
  if (helpMenu != null) {
    menuBar.add(helpMenu);
  }
  this.setJMenuBar(menuBar);
}

Fixed version (ground truth):
private void setupMenus(){
  menuBar=new JMenuBar();
  fileMenu=new JMenu("String_Node_Str");
  newItem=new JMenuItem("String_Node_Str");
  newItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(newItem);
  openItem=new JMenuItem("String_Node_Str");
  openItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(openItem);
  fileMenu.addSeparator();
  revertItem=new JMenuItem("String_Node_Str");
  revertItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(revertItem);
  fileMenu.addSeparator();
  saveItem=new JMenuItem("String_Node_Str");
  saveItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(saveItem);
  saveAsItem=new JMenuItem("String_Node_Str");
  saveAsItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(saveAsItem);
  fileMenu.addSeparator();
  closeItem=new JMenuItem("String_Node_Str");
  closeItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(closeItem);
  fileMenu.addSeparator();
  printItem=new JMenuItem("String_Node_Str");
  printItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  fileMenu.add(printItem);
  if (RopeHelper.isMac) {
    registerForMacOSXEvents();
  }
 else {
    fileMenu.addSeparator();
    prefsItem=new JMenuItem("String_Node_Str");
    prefsItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        doPreferences();
      }
    }
);
    fileMenu.add(prefsItem);
    fileMenu.addSeparator();
    quitItem=new JMenuItem("String_Node_Str");
    quitItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        WindowEvent event=new WindowEvent(RopeFrame.this,WindowEvent.WINDOW_CLOSING);
        Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event);
      }
    }
);
    fileMenu.add(quitItem);
    helpMenu=new JMenu("String_Node_Str");
    aboutItem=new JMenuItem("String_Node_Str");
    aboutItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent e){
        aboutRope();
      }
    }
);
    helpMenu.add(aboutItem);
  }
  editMenu=new JMenu("String_Node_Str");
  undoItem=new JMenuItem("String_Node_Str");
  undoItem.setEnabled(false);
  undoItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,RopeHelper.modifierMaks));
  undoItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(undoItem);
  redoItem=new JMenuItem("String_Node_Str");
  redoItem.setEnabled(false);
  redoItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,RopeHelper.modifierMaks + Event.SHIFT_MASK));
  redoItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(redoItem);
  editMenu.addSeparator();
  cutItem=new JMenuItem("String_Node_Str");
  cutItem.setEnabled(false);
  cutItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X,RopeHelper.modifierMaks));
  cutItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(cutItem);
  copyItem=new JMenuItem("String_Node_Str");
  copyItem.setEnabled(false);
  copyItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C,RopeHelper.modifierMaks));
  copyItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(copyItem);
  pasteItem=new JMenuItem("String_Node_Str");
  pasteItem.setEnabled(false);
  pasteItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V,RopeHelper.modifierMaks));
  pasteItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(pasteItem);
  editMenu.addSeparator();
  deleteItem=new JMenuItem("String_Node_Str");
  deleteItem.setEnabled(false);
  deleteItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(deleteItem);
  editMenu.addSeparator();
  selectAllItem=new JMenuItem("String_Node_Str");
  selectAllItem.setEnabled(false);
  selectAllItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A,RopeHelper.modifierMaks));
  selectAllItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(selectAllItem);
  selectLineItem=new JMenuItem("String_Node_Str");
  selectLineItem.setEnabled(false);
  selectLineItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L,RopeHelper.modifierMaks));
  selectLineItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      callChildFrameMethod("String_Node_Str",e);
    }
  }
);
  editMenu.add(selectLineItem);
  menuBar.add(fileMenu);
  menuBar.add(editMenu);
  if (helpMenu != null) {
    menuBar.add(helpMenu);
  }
  this.setJMenuBar(menuBar);
}