connDetails += usernameInput.getText() + ",";
connDetails += password;
System.out.println(connDetails);
//new writer object
WriteToFile write = new WriteToFile(dbDetailLocationFolder, dbDetailLocationFile, connDetails);
}//GEN-LAST:event_doneButtonActionPerformed