Browse Source

Adds Test-Email

Troppmann, Tom 4 years ago
parent
commit
ccdea104a2
1 changed files with 2 additions and 1 deletions
  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);