File credentialsFile = new File(directory, awsCredentials.getFriendlyName() + ".enc");
try {
String algorithm = myProperties.getStringProperty("crypto.algorithm", "PBEWithMD5AndDES");
awsCredentials.save(password, credentialsFile, algorithm);
loginLocalFolderPanel.clearPassword();
loginLocalFolderPanel.refreshStoredCredentialsTable();
JOptionPane.showMessageDialog(ownerFrame, "Your AWS Credentials have been stored in the file:\n" +
credentialsFile.getAbsolutePath());