Program: 167572
Project: 167572
Buggy source:
/** 
 */
public NodeViewerData(){
  this.setLayout(new BorderLayout());
  this.dataArea=new JTextPane();
  this.highlighter=(DefaultHighlighter)dataArea.getHighlighter();
  dataArea.addKeyListener(new KeyListener(){
    @Override public void keyTyped(    KeyEvent e){
    }
    @Override public void keyReleased(    KeyEvent e){
    }
    @Override public void keyPressed(    KeyEvent e){
      if ((e.getKeyCode() == KeyEvent.VK_F) && ((e.getModifiers() & (KeyEvent.CTRL_MASK | KeyEvent.META_MASK)) != 0)) {
        NodeDataViewerFindDialog dialog=new NodeDataViewerFindDialog(NodeViewerData.this);
        dialog.setVisible(true);
      }
 else       if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
        highlighter.removeAllHighlights();
      }
    }
  }
);
  dataArea.setEditable(false);
  this.toolbar=new JToolBar();
  this.toolbar.setFloatable(false);
  scroller=new JScrollPane(this.dataArea);
  scroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  this.add(scroller,BorderLayout.CENTER);
  this.add(this.toolbar,BorderLayout.NORTH);
  final JButton saveButton=new JButton(ZooInspectorIconResources.getSaveIcon());
  saveButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      if (selectedNode != null) {
        if (JOptionPane.showConfirmDialog(NodeViewerData.this,"String_Node_Str" + "String_Node_Str","String_Node_Str",JOptionPane.YES_NO_OPTION,JOptionPane.WARNING_MESSAGE) == JOptionPane.YES_OPTION) {
          zooInspectorManager.setData(selectedNode,dataArea.getText());
        }
      }
    }
  }
);
  saveButton.setEnabled(false);
  this.toolbar.add(saveButton);
  JButton editButton=new JButton(ZooInspectorIconResources.getEditIcon());
  editButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      if (zooInspectorManager != null && zooInspectorManager.getZookeeperStates() == States.CONNECTED) {
        saveButton.setEnabled(!saveButton.isEnabled());
        dataArea.setEditable(saveButton.isEnabled());
      }
    }
  }
);
  this.toolbar.add(editButton);
  JButton searchButton=new JButton(ZooInspectorIconResources.getSearchIcon());
  searchButton.setToolTipText("String_Node_Str");
  searchButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      NodeDataViewerFindDialog dialog=new NodeDataViewerFindDialog(NodeViewerData.this);
      dialog.setVisible(true);
    }
  }
);
  this.toolbar.add(searchButton);
}

Fixed version (ground truth):
/** 
 */
public NodeViewerData(){
  this.setLayout(new BorderLayout());
  this.dataArea=new JTextPane();
  this.highlighter=(DefaultHighlighter)dataArea.getHighlighter();
  dataArea.addKeyListener(new KeyListener(){
    @Override public void keyTyped(    KeyEvent e){
    }
    @Override public void keyReleased(    KeyEvent e){
    }
    @Override public void keyPressed(    KeyEvent e){
      if ((e.getKeyCode() == KeyEvent.VK_F) && ((e.getModifiers() & (KeyEvent.CTRL_MASK | KeyEvent.META_MASK)) != 0)) {
        NodeDataViewerFindDialog dialog=new NodeDataViewerFindDialog(NodeViewerData.this);
        dialog.setVisible(true);
      }
 else       if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
        highlighter.removeAllHighlights();
      }
    }
  }
);
  dataArea.setEditable(false);
  this.toolbar=new JToolBar();
  this.toolbar.setFloatable(false);
  scroller=new JScrollPane(this.dataArea);
  scroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  this.add(scroller,BorderLayout.CENTER);
  this.add(this.toolbar,BorderLayout.NORTH);
  final JButton saveButton=new JButton(ZooInspectorIconResources.getSaveIcon());
  saveButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      if (selectedNode != null) {
        if (JOptionPane.showConfirmDialog(NodeViewerData.this,"String_Node_Str" + "String_Node_Str","String_Node_Str",JOptionPane.YES_NO_OPTION,JOptionPane.WARNING_MESSAGE) == JOptionPane.YES_OPTION) {
          zooInspectorManager.setData(selectedNode,dataArea.getText());
        }
      }
    }
  }
);
  saveButton.setEnabled(false);
  this.toolbar.add(saveButton);
  JButton editButton=new JButton(ZooInspectorIconResources.getEditIcon());
  editButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      if (zooInspectorManager != null && zooInspectorManager.getZookeeperStates() == States.CONNECTED) {
        saveButton.setEnabled(!saveButton.isEnabled());
        dataArea.setEditable(saveButton.isEnabled());
      }
    }
  }
);
  this.toolbar.add(editButton);
  JButton searchButton=new JButton(ZooInspectorIconResources.getSearchIcon());
  String osName=System.getProperty("String_Node_Str").toLowerCase();
  String tipText="String_Node_Str";
  if (osName != null && osName.indexOf("String_Node_Str") > -1) {
    tipText="String_Node_Str";
  }
  searchButton.setToolTipText(tipText);
  searchButton.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      NodeDataViewerFindDialog dialog=new NodeDataViewerFindDialog(NodeViewerData.this);
      dialog.setVisible(true);
    }
  }
);
  this.toolbar.add(searchButton);
}