Program: 168540
Project: 168540
Buggy source:
public FileSystemBrowserWindow(final DebugConsoleWindow dcw){
  super(TITLE_STRING);
  if (Java6Specific.isJava6OrHigher())   Java6Specific.setIconImages(WINDOW_ICONS,this);
 else   setIconImage(WINDOW_ICONS[0].getImage());
  fsb=new FileSystemBrowser<FSEntry>(new FileSystemProvider());
  JMenuItem loadFSFromDeviceItem=null;
  if (WindowsLowLevelIO.isSystemSupported()) {
    loadFSFromDeviceItem=new JMenuItem("String_Node_Str");
    loadFSFromDeviceItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent ae){
        SelectWindowsDeviceDialog deviceDialog=new SelectWindowsDeviceDialog(FileSystemBrowserWindow.this,true,"String_Node_Str");
        deviceDialog.setVisible(true);
        ReadableRandomAccessStream io=deviceDialog.getPartitionStream();
        String pathName=deviceDialog.getPathName();
        if (io != null) {
          try {
            loadFS(io,pathName);
          }
 catch (          Exception e) {
            System.err.print("String_Node_Str" + pathName + "String_Node_Str");
            e.printStackTrace();
            JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
          }
        }
      }
    }
);
    loadFSFromDeviceItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
  }
  JMenuItem loadFSFromFileItem=new JMenuItem("String_Node_Str");
  loadFSFromFileItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      fileChooser.setMultiSelectionEnabled(false);
      fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
      if (fileChooser.showOpenDialog(FileSystemBrowserWindow.this) == JFileChooser.APPROVE_OPTION) {
        try {
          String pathName=fileChooser.getSelectedFile().getCanonicalPath();
          loadFS(pathName);
        }
 catch (        IOException ioe) {
          ioe.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
catch (        Exception e) {
          e.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
      }
    }
  }
);
  loadFSFromFileItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
  JMenuItem openUDIFItem=new JMenuItem("String_Node_Str");
  openUDIFItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      fileChooser.setMultiSelectionEnabled(false);
      fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
      SimpleFileFilter sff=new SimpleFileFilter();
      sff.addExtension("String_Node_Str");
      sff.setDescription("String_Node_Str");
      fileChooser.setFileFilter(sff);
      int res=fileChooser.showOpenDialog(FileSystemBrowserWindow.this);
      if (res == JFileChooser.APPROVE_OPTION) {
        try {
          File selectedFile=fileChooser.getSelectedFile();
          String pathName=selectedFile.getCanonicalPath();
          loadFSWithUDIFAutodetect(pathName);
        }
 catch (        IOException ioe) {
          ioe.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
catch (        Exception e) {
          e.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
      }
      fileChooser.resetChoosableFileFilters();
    }
  }
);
  openUDIFItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
  JMenuItem openFromPosItem=new JMenuItem("String_Node_Str");
  openFromPosItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      fileChooser.setMultiSelectionEnabled(false);
      fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
      SimpleFileFilter sff=new SimpleFileFilter();
      sff.addExtension("String_Node_Str");
      sff.setDescription("String_Node_Str");
      fileChooser.setFileFilter(sff);
      int res=fileChooser.showOpenDialog(FileSystemBrowserWindow.this);
      if (res == JFileChooser.APPROVE_OPTION) {
        try {
          File selectedFile=fileChooser.getSelectedFile();
          String pathName=selectedFile.getCanonicalPath();
          String s=JOptionPane.showInputDialog(FileSystemBrowserWindow.this,"String_Node_Str");
          long pos=Long.parseLong(s);
          loadFSWithUDIFAutodetect(pathName,pos);
        }
 catch (        IOException ioe) {
          ioe.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
catch (        Exception e) {
          e.printStackTrace();
          JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
        }
      }
      fileChooser.resetChoosableFileFilters();
    }
  }
);
  JMenuItem debugConsoleItem=null;
  if (dcw != null) {
    debugConsoleItem=new JMenuItem("String_Node_Str");
    debugConsoleItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent ae){
        dcw.setVisible(true);
      }
    }
);
  }
  JMenuItem exitProgramItem=null;
  if (!System.getProperty("String_Node_Str").toLowerCase().startsWith("String_Node_Str")) {
    exitProgramItem=new JMenuItem("String_Node_Str");
    exitProgramItem.addActionListener(new ActionListener(){
      @Override public void actionPerformed(      ActionEvent ae){
        exitApplication();
      }
    }
);
    exitProgramItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
  }
 else {
    MacSpecific.registerQuitHandler(new MacSpecific.QuitHandler(){
      @Override public boolean acceptQuit(){
        exitApplication();
        return false;
      }
    }
);
  }
  JMenuItem fsInfoItem=new JMenuItem("String_Node_Str");
  fsInfoItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      if (fsHandler != null) {
        VolumeInfoWindow infoWindow=new VolumeInfoWindow(fsHandler.getFSView());
        infoWindow.setVisible(true);
        CommonHFSVolumeHeader cvh=fsHandler.getFSView().getVolumeHeader();
        if (cvh instanceof CommonHFSVolumeHeader.HFSPlusImplementation) {
          HFSPlusVolumeHeader vh=((CommonHFSVolumeHeader.HFSPlusImplementation)cvh).getUnderlying();
          if (vh.getAttributeVolumeJournaled())           infoWindow.setJournalFields(fsHandler.getFSView().getJournalInfoBlock());
        }
      }
 else       JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
    }
  }
);
  fsInfoItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
  toggleCachingItem=new JCheckBoxMenuItem("String_Node_Str");
  toggleCachingItem.setState(true);
  toggleCachingItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      if (fsHandler != null) {
        if (toggleCachingItem.getState()) {
          System.out.print("String_Node_Str");
          fsHandler.getFSView().enableFileSystemCaching();
          System.out.println("String_Node_Str");
        }
 else {
          System.out.print("String_Node_Str");
          fsHandler.getFSView().disableFileSystemCaching();
          System.out.println("String_Node_Str");
        }
      }
    }
  }
);
  JMenuItem setFileReadOffsetItem=new JMenuItem("String_Node_Str");
  setFileReadOffsetItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      String s=JOptionPane.showInputDialog(FileSystemBrowserWindow.this,"String_Node_Str",BaseHFSFileSystemView.fileReadOffset);
      if (s != null) {
        BaseHFSFileSystemView.fileReadOffset=Long.parseLong(s);
      }
    }
  }
);
  JMenuItem startHelpBrowserItem=new JMenuItem("String_Node_Str");
  startHelpBrowserItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      File f=new File("String_Node_Str");
      if (f.exists()) {
        try {
          HelpBrowserPanel.showHelpBrowserWindow("String_Node_Str",f.toURI().toURL());
        }
 catch (        MalformedURLException ex) {
          ex.printStackTrace();
          Logger.getLogger(FileSystemBrowserWindow.class.getName()).log(Level.WARNING,null,ex);
        }
      }
    }
  }
);
  JMenuItem checkUpdatesItem=new JMenuItem("String_Node_Str");
  checkUpdatesItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      InputStream infoDictStream=null;
      for (      String s : VERSION_INFO_DICTIONARY) {
        try {
          System.out.println("String_Node_Str" + s + "String_Node_Str");
          infoDictStream=new URL(s).openStream();
          SimpleDictionaryParser sdp=new SimpleDictionaryParser(infoDictStream);
          String dictVersion=sdp.getValue("String_Node_Str");
          long dictBuildNumber=Long.parseLong(sdp.getValue("String_Node_Str"));
          System.out.println("String_Node_Str" + dictVersion);
          System.out.println("String_Node_Str" + dictBuildNumber);
          boolean dictVersionIsHigher=false;
          if (true) {
            dictVersionIsHigher=dictBuildNumber > BuildNumber.BUILD_NUMBER;
          }
 else {
            char[] dictVersionArray=dictVersion.toCharArray();
            char[] myVersionArray=HFSExplorer.VERSION.toCharArray();
            int minArrayLength=Math.min(dictVersionArray.length,myVersionArray.length);
            boolean foundDifference=false;
            for (int i=0; i < minArrayLength; ++i) {
              if (dictVersionArray[i] > myVersionArray[i]) {
                dictVersionIsHigher=true;
                foundDifference=true;
                break;
              }
 else               if (dictVersionArray[i] < myVersionArray[i]) {
                dictVersionIsHigher=false;
                foundDifference=true;
                break;
              }
            }
            if (!foundDifference)             dictVersionIsHigher=dictVersionArray.length > myVersionArray.length;
          }
          if (dictVersionIsHigher)           JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str" + "String_Node_Str" + dictVersion + "String_Node_Str"+ dictBuildNumber+ "String_Node_Str","String_Node_Str",JOptionPane.INFORMATION_MESSAGE);
 else           JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.INFORMATION_MESSAGE);
          return;
        }
 catch (        Exception e) {
          e.printStackTrace();
        }
      }
      JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
    }
  }
);
  JMenuItem aboutItem=new JMenuItem("String_Node_Str");
  aboutItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent ae){
      String message="String_Node_Str";
      message+="String_Node_Str" + HFSExplorer.VERSION + "String_Node_Str"+ BuildNumber.BUILD_NUMBER+ "String_Node_Str";
      message+=HFSExplorer.COPYRIGHT + "String_Node_Str";
      for (      String notice : HFSExplorer.NOTICES) {
        message+=notice + "String_Node_Str";
      }
      message+="String_Node_Str" + System.getProperty("String_Node_Str") + "String_Node_Str"+ System.getProperty("String_Node_Str");
      message+="String_Node_Str" + System.getProperty("String_Node_Str");
      message+="String_Node_Str" + System.getProperty("String_Node_Str") + "String_Node_Str"+ System.getProperty("String_Node_Str")+ "String_Node_Str"+ System.getProperty("String_Node_Str");
      JOptionPane.showMessageDialog(FileSystemBrowserWindow.this,message,"String_Node_Str",JOptionPane.INFORMATION_MESSAGE);
    }
  }
);
  JMenu fileMenu=new JMenu("String_Node_Str");
  JMenu infoMenu=new JMenu("String_Node_Str");
  JMenu helpMenu=new JMenu("String_Node_Str");
  if (loadFSFromDeviceItem != null)   fileMenu.add(loadFSFromDeviceItem);
  fileMenu.add(loadFSFromFileItem);
  fileMenu.add(openUDIFItem);
  fileMenu.add(openFromPosItem);
  if (debugConsoleItem != null)   fileMenu.add(debugConsoleItem);
  if (exitProgramItem != null)   fileMenu.add(exitProgramItem);
  infoMenu.add(fsInfoItem);
  infoMenu.add(toggleCachingItem);
  infoMenu.add(setFileReadOffsetItem);
  helpMenu.add(startHelpBrowserItem);
  helpMenu.add(checkUpdatesItem);
  helpMenu.add(aboutItem);
  JMenuBar menuBar=new JMenuBar();
  menuBar.add(fileMenu);
  menuBar.add(infoMenu);
  menuBar.add(helpMenu);
  setJMenuBar(menuBar);
  addWindowListener(new WindowAdapter(){
    @Override public void windowClosing(    WindowEvent we){
      exitApplication();
    }
  }
);
  setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
  add(fsb.getViewComponent(),BorderLayout.CENTER);
  pack();
  setLocationRelativeTo(null);
}

Fixed version (ground truth):
public FileSystemBrowserWindow(final DebugConsoleWindow dcw){
  super(TITLE_STRING);
  this.dcw=dcw;
  if (Java6Specific.isJava6OrHigher()) {
    Java6Specific.setIconImages(WINDOW_ICONS,this);
  }
 else {
    setIconImage(WINDOW_ICONS[0].getImage());
  }
  fsb=new FileSystemBrowser<FSEntry>(new FileSystemProvider());
  setUpMenus();
  addWindowListener(new WindowAdapter(){
    @Override public void windowClosing(    WindowEvent we){
      exitApplication();
    }
  }
);
  setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
  add(fsb.getViewComponent(),BorderLayout.CENTER);
  pack();
  setLocationRelativeTo(null);
}