public void actionPerformed(ActionEvent e) {
if (AmazonCredential.getInstance().getAwsAccessKeyId().isEmpty() || AmazonCredential.getInstance().getAwsSecretAccessKey().isEmpty()) {
S3FileChooser.this.engine.getErrorWindow().warning(S3FileChooser.this.dialog.getDialog(), "Error", "Aws Access Key not set!");
if (this.credentialWindow == null) {
this.credentialWindow = new ChangeCredentialWindow(S3FileChooser.this.dialog.getDialog());
}
try {
this.credentialWindow.show();
} catch (Exception e1) {
S3FileChooser.this.engine.getErrorWindow().error(e1);