Bladeren bron

Adds Test-Email

Troppmann, Tom 4 jaren geleden
bovenliggende
commit
ccdea104a2
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/api/EmailNotification.java

+ 2 - 1
src/api/EmailNotification.java

@@ -11,6 +11,7 @@ import javax.swing.JButton;
 import javax.swing.JFrame;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
+import javax.swing.JPasswordField;
 import javax.swing.JTextField;
 
 import org.apache.commons.mail.*;
@@ -75,7 +76,7 @@ public class EmailNotification {
 		JTextField usernameTextField = new JTextField(_info.Username);
 		infoPanel.add(usernameTextField);
 		infoPanel.add(new JLabel("Password:"));
-		JTextField passwordTextField = new JTextField(_info.Password);
+		JPasswordField  passwordTextField = new JPasswordField (_info.Password);
 		infoPanel.add(passwordTextField);
 		infoPanel.add(new JLabel("From Email:"));
 		JTextField fromEmailTextField = new JTextField(_info.FromEmail);