private void buttonChooseFileActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonChooseFileActionPerformed

        final JFileChooser fc = new JFileChooser("D:\\Dropbox\\Hovedopgave 5. semester\\Eksamen\\DummyFiles");
        int returnval = fc.showOpenDialog(null);

        if (returnval == JFileChooser.APPROVE_OPTION) {
            try {
                String filepath = fc.getSelectedFile().getCanonicalPath();
                textFieldFilePath.setText(filepath);
            } catch (IOException ex) {
                Logger.getLogger(TaskHandlingPanel.class.getName()).log(Level.SEVERE, null, ex);
            }
        }


    }//GEN-LAST:event_buttonChooseFileActionPerformed