Program: 178259
Project: 178259
Buggy source:
private void createAndShowGUI() throws Exception {
  JFrame.setDefaultLookAndFeelDecorated(false);
  mainFrame=new JFrame("String_Node_Str");
  mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
  JPopupMenu.setDefaultLightWeightPopupEnabled(false);
  JMenuBar menubar=new JMenuBar();
  JMenu viewMenu=new JMenu("String_Node_Str");
  viewMenu.setMnemonic(KeyEvent.VK_V);
  menubar.add(viewMenu);
  JMenu manipMenu=new JMenu("String_Node_Str");
  manipMenu.setMnemonic(KeyEvent.VK_M);
  menubar.add(manipMenu);
  JMenuItem manipX=new JMenuItem("String_Node_Str",KeyEvent.VK_X);
  manipX.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X,ActionEvent.CTRL_MASK));
  manipX.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateX();
    }
  }
);
  manipMenu.add(manipX);
  JMenuItem manipY=new JMenuItem("String_Node_Str",KeyEvent.VK_Y);
  manipY.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Y,ActionEvent.CTRL_MASK));
  manipY.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateY();
    }
  }
);
  manipMenu.add(manipY);
  JMenuItem manipZ=new JMenuItem("String_Node_Str",KeyEvent.VK_Z);
  manipZ.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,ActionEvent.CTRL_MASK));
  manipZ.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateZ();
    }
  }
);
  manipMenu.add(manipZ);
  JMenuItem inToMM=new JMenuItem("String_Node_Str",KeyEvent.VK_I);
  inToMM.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I,ActionEvent.CTRL_MASK));
  inToMM.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      oninToMM();
    }
  }
);
  manipMenu.add(inToMM);
  JMenuItem nextP=new JMenuItem("String_Node_Str",KeyEvent.VK_N);
  nextP.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,ActionEvent.CTRL_MASK));
  nextP.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onNextPicked();
    }
  }
);
  manipMenu.add(nextP);
  JMenuItem reorder=new JMenuItem("String_Node_Str",KeyEvent.VK_R);
  reorder.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R,ActionEvent.CTRL_MASK));
  reorder.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onReorder();
    }
  }
);
  manipMenu.add(reorder);
  JMenuItem deleteSTLW=new JMenuItem("String_Node_Str",KeyEvent.VK_W);
  deleteSTLW.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_W,ActionEvent.CTRL_MASK));
  deleteSTLW.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onDelete();
    }
  }
);
  manipMenu.add(deleteSTLW);
  JMenuItem deleteSTL=new JMenuItem("String_Node_Str",KeyEvent.VK_DELETE);
  deleteSTL.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,0));
  deleteSTL.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onDelete();
    }
  }
);
  manipMenu.add(deleteSTL);
  produceProduceB=new JMenuItem("String_Node_Str",KeyEvent.VK_B);
  produceProduceB.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B,ActionEvent.CTRL_MASK));
  produceProduceB.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onProduceB();
    }
  }
);
  cancelMenuItem=new JMenuItem("String_Node_Str",KeyEvent.VK_P);
  cancelMenuItem.setEnabled(false);
  cancelMenuItem.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      if (producer != null)       producer.setCancelled(true);
    }
  }
);
  segmentPause=new JCheckBoxMenuItem("String_Node_Str");
  layerPause=new JCheckBoxMenuItem("String_Node_Str");
  Box builderFrame=new Box(BoxLayout.Y_AXIS);
  builderFrame.add(new JLabel("String_Node_Str"));
  builder=new RepRapBuild();
  builderFrame.setMinimumSize(new Dimension(0,0));
  builderFrame.add(builder);
  panel=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
  panel.setPreferredSize(Utility.getDefaultAppSize());
  panel.setMinimumSize(new Dimension(0,0));
  panel.setResizeWeight(0.5);
  panel.setOneTouchExpandable(true);
  panel.setContinuousLayout(true);
  panel.setLeftComponent(builderFrame);
  panel.setDividerLocation(panel.getPreferredSize().width);
  mainFrame.getContentPane().add(panel);
  mainFrame.setJMenuBar(menubar);
  mainFrame.pack();
  Utility.positionWindowOnScreen(mainFrame);
  mainFrame.setVisible(true);
}

Fixed version (ground truth):
private void createAndShowGUI() throws Exception {
  JFrame.setDefaultLookAndFeelDecorated(false);
  mainFrame=new JFrame("String_Node_Str");
  mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
  JPopupMenu.setDefaultLightWeightPopupEnabled(false);
  JMenuBar menubar=new JMenuBar();
  JMenu manipMenu=new JMenu("String_Node_Str");
  manipMenu.setMnemonic(KeyEvent.VK_M);
  menubar.add(manipMenu);
  JMenuItem manipX=new JMenuItem("String_Node_Str",KeyEvent.VK_X);
  manipX.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X,ActionEvent.CTRL_MASK));
  manipX.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateX();
    }
  }
);
  manipMenu.add(manipX);
  JMenuItem manipY=new JMenuItem("String_Node_Str",KeyEvent.VK_Y);
  manipY.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Y,ActionEvent.CTRL_MASK));
  manipY.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateY();
    }
  }
);
  manipMenu.add(manipY);
  JMenuItem manipZ=new JMenuItem("String_Node_Str",KeyEvent.VK_Z);
  manipZ.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z,ActionEvent.CTRL_MASK));
  manipZ.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onRotateZ();
    }
  }
);
  manipMenu.add(manipZ);
  JMenuItem inToMM=new JMenuItem("String_Node_Str",KeyEvent.VK_I);
  inToMM.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I,ActionEvent.CTRL_MASK));
  inToMM.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      oninToMM();
    }
  }
);
  manipMenu.add(inToMM);
  JMenuItem nextP=new JMenuItem("String_Node_Str",KeyEvent.VK_N);
  nextP.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,ActionEvent.CTRL_MASK));
  nextP.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onNextPicked();
    }
  }
);
  manipMenu.add(nextP);
  JMenuItem reorder=new JMenuItem("String_Node_Str",KeyEvent.VK_R);
  reorder.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R,ActionEvent.CTRL_MASK));
  reorder.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onReorder();
    }
  }
);
  manipMenu.add(reorder);
  JMenuItem deleteSTL=new JMenuItem("String_Node_Str",KeyEvent.VK_DELETE);
  deleteSTL.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,0));
  deleteSTL.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent arg0){
      onDelete();
    }
  }
);
  manipMenu.add(deleteSTL);
  produceProduceB=new JMenuItem("String_Node_Str",KeyEvent.VK_B);
  cancelMenuItem=new JMenuItem("String_Node_Str",KeyEvent.VK_P);
  cancelMenuItem.setEnabled(false);
  segmentPause=new JCheckBoxMenuItem("String_Node_Str");
  layerPause=new JCheckBoxMenuItem("String_Node_Str");
  Box builderFrame=new Box(BoxLayout.Y_AXIS);
  builderFrame.add(new JLabel("String_Node_Str"));
  builder=new RepRapBuild();
  builderFrame.setMinimumSize(new Dimension(0,0));
  builderFrame.add(builder);
  panel=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
  panel.setPreferredSize(Utility.getDefaultAppSize());
  panel.setMinimumSize(new Dimension(0,0));
  panel.setResizeWeight(0.5);
  panel.setOneTouchExpandable(true);
  panel.setContinuousLayout(true);
  panel.setLeftComponent(builderFrame);
  panel.setDividerLocation(panel.getPreferredSize().width);
  mainFrame.getContentPane().add(panel);
  mainFrame.setJMenuBar(menubar);
  mainFrame.pack();
  Utility.positionWindowOnScreen(mainFrame);
  mainFrame.setVisible(true);
}