private void btnLoadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLoadActionPerformed
    String tempPath = txtPath.getText();
    if(tempPath.isEmpty()){
        JOptionPane.showMessageDialog(this, "You have to select a XML File first",
                "Missing Value",JOptionPane.WARNING_MESSAGE);
        return;
    }
    
    File tempFile = new File(tempPath);
    if(!tempFile.exists() || tempFile.isDirectory()){
        JOptionPane.showMessageDialog(this, "The current selected path is invalid.",
                "Invalid Path", JOptionPane.ERROR_MESSAGE);
        return;
    }
    
    parseXMLFile(tempFile);
        
}//GEN-LAST:event_btnLoadActionPerformed