currentDirectory = selectedFile.getParentFile();
    private void browseClasspathEntryButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseClasspathEntryButtonActionPerformed        // Add your handling code here:        JFileChooser chooser = new JFileChooser();        chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);        chooser.setFileFilter(auxClasspathEntryFileFilter);        int result = chooser.showDialog(this, "Add entry");        if (result != JFileChooser.CANCEL_OPTION) {            /*            File[] selectedFileList = chooser.getSelectedFiles();            for (int i = 0; i < selectedFileList.length; ++i) {                String entry = selectedFileList[i].getPath();                addClasspathEntryToList(entry);            }             */            File selectedFile = chooser.getSelectedFile();            classpathEntryTextField.setText(selectedFile.getPath());            addClasspathEntryToList();        }    }//GEN-LAST:event_browseClasspathEntryButtonActionPerformed