Program: 35235
Project: 35235
Buggy source:
public MyTabbedPane(JByteMod jbm){
  this.jbm=jbm;
  JLabel editor=new JLabel("String_Node_Str");
  MyCodeEditor list=new MyCodeEditor(jbm,editor);
  jbm.setCodeList(list.getEditor());
  this.addTab("String_Node_Str",this.withBorder(editor,list));
  InfoPanel sp=new InfoPanel(jbm);
  jbm.setSP(sp);
  this.addTab("String_Node_Str",this.withBorder(new JLabel(JByteMod.res.getResource("String_Node_Str")),sp));
  String decompiler="String_Node_Str";
  this.dt=new DecompilerTab(jbm);
  this.addTab(decompiler,dt);
  SearchList searchList=new SearchList(jbm);
  jbm.setSearchlist(searchList);
  JLabel search=new JLabel(JByteMod.res.getResource("String_Node_Str"));
  this.addTab(JByteMod.res.getResource("String_Node_Str"),this.withBorder(search,searchList));
  this.cfp=new ControlFlowPanel();
  this.addTab(analysis,this.withBorder(new JLabel(JByteMod.res.getResource("String_Node_Str")),cfp));
  jbm.setCFP(cfp);
  jbm.setTabbedPane(this);
  ChangeListener changeListener=new ChangeListener(){
    public void stateChanged(    ChangeEvent changeEvent){
      JTabbedPane sourceTabbedPane=(JTabbedPane)changeEvent.getSource();
      int index=sourceTabbedPane.getSelectedIndex();
      if (sourceTabbedPane.getTitleAt(index).equals(decompiler)) {
        dt.decompile(jbm.getCurrentNode(),false);
      }
      if (sourceTabbedPane.getTitleAt(index).equals(analysis)) {
        if (!classSelected) {
          cfp.generateList();
        }
 else {
          cfp.clear();
        }
      }
    }
  }
;
  this.addChangeListener(changeListener);
  this.addMouseListener(new MouseAdapter(){
    @Override public void mouseClicked(    MouseEvent me){
      if (me.getButton() == 3) {
        int tabNr=((TabbedPaneUI)getUI()).tabForCoordinate(MyTabbedPane.this,me.getX(),me.getY());
        if (tabNr == 0) {
          JPopupMenu menu=new JPopupMenu();
          for (          ClassNode cn : jbm.lastSelectedEntries.keySet()) {
            String item=cn.name;
            MethodNode mn=jbm.lastSelectedEntries.get(cn);
            if (mn != null) {
              item+="String_Node_Str" + mn.name;
            }
            if (item.length() > 128) {
              item="String_Node_Str" + item.substring(item.length() - 128);
            }
            JMenuItem remove=new JMenuItem(item);
            remove.addActionListener(new ActionListener(){
              public void actionPerformed(              ActionEvent e){
                if (mn != null) {
                  jbm.selectMethod(cn,mn);
                }
 else {
                  jbm.selectClass(cn);
                }
              }
            }
);
            menu.add(remove);
          }
          menu.show(jbm,(int)jbm.getMousePosition().getX(),(int)jbm.getMousePosition().getY());
        }
      }
    }
  }
);
}

Fixed version (ground truth):
public MyTabbedPane(JByteMod jbm){
  JLabel editor=new JLabel("String_Node_Str");
  MyCodeEditor list=new MyCodeEditor(jbm,editor);
  jbm.setCodeList(list.getEditor());
  this.addTab("String_Node_Str",this.withBorder(editor,list));
  InfoPanel sp=new InfoPanel(jbm);
  jbm.setSP(sp);
  this.addTab("String_Node_Str",this.withBorder(new JLabel(JByteMod.res.getResource("String_Node_Str")),sp));
  String decompiler="String_Node_Str";
  this.dt=new DecompilerTab(jbm);
  this.addTab(decompiler,dt);
  SearchList searchList=new SearchList(jbm);
  jbm.setSearchlist(searchList);
  JLabel search=new JLabel(JByteMod.res.getResource("String_Node_Str"));
  this.addTab(JByteMod.res.getResource("String_Node_Str"),this.withBorder(search,searchList));
  this.cfp=new ControlFlowPanel();
  this.addTab(analysis,this.withBorder(new JLabel(JByteMod.res.getResource("String_Node_Str")),cfp));
  jbm.setCFP(cfp);
  jbm.setTabbedPane(this);
  ChangeListener changeListener=new ChangeListener(){
    public void stateChanged(    ChangeEvent changeEvent){
      JTabbedPane sourceTabbedPane=(JTabbedPane)changeEvent.getSource();
      int index=sourceTabbedPane.getSelectedIndex();
      if (sourceTabbedPane.getTitleAt(index).equals(decompiler)) {
        dt.decompile(jbm.getCurrentNode(),false);
      }
      if (sourceTabbedPane.getTitleAt(index).equals(analysis)) {
        if (!classSelected) {
          cfp.generateList();
        }
 else {
          cfp.clear();
        }
      }
    }
  }
;
  this.addChangeListener(changeListener);
  this.addMouseListener(new MouseAdapter(){
    @Override public void mouseClicked(    MouseEvent me){
      if (me.getButton() == 3) {
        int tabNr=((TabbedPaneUI)getUI()).tabForCoordinate(MyTabbedPane.this,me.getX(),me.getY());
        if (tabNr == 0) {
          JPopupMenu menu=new JPopupMenu();
          for (          ClassNode cn : JByteMod.lastSelectedTreeEntries.keySet()) {
            String item=cn.name;
            MethodNode mn=JByteMod.lastSelectedTreeEntries.get(cn);
            if (mn != null) {
              item+="String_Node_Str" + mn.name;
            }
            if (item.length() > 128) {
              item="String_Node_Str" + item.substring(item.length() - 128);
            }
            JMenuItem remove=new JMenuItem(item);
            remove.addActionListener(new ActionListener(){
              public void actionPerformed(              ActionEvent e){
                if (mn != null) {
                  jbm.selectMethod(cn,mn);
                }
 else {
                  jbm.selectClass(cn);
                }
              }
            }
);
            menu.add(remove);
          }
          menu.show(jbm,(int)jbm.getMousePosition().getX(),(int)jbm.getMousePosition().getY());
        }
      }
    }
  }
);
}