Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThanasiz committed Jun 12, 2019
1 parent a5ef8b4 commit 95ebfd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/HomeFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public static String getUsername() {
}

public static String getPasswordHF() {
return password.getText();
return password.getPassword().toString();
}


Expand Down
6 changes: 3 additions & 3 deletions src/RegisterFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void passwordLabelBelow() {
passwordLabelBelowPanel = new JPanel();
passwordLabelBelowPanel.setPreferredSize(new Dimension(MESSAGE_PANEL_WIDTH , MESSAGE_PANEL_HEIGHT));

JLabel labela = new JLabel("Remember , password must be atleast 6 characters long , including one lower case or upper case letter!");
JLabel labela = new JLabel("Remember , password must be atleast 6 characters long , including atleast one number and one letter!");

passwordLabelBelowPanel.add(labela);

Expand Down Expand Up @@ -215,7 +215,7 @@ public static JButton getRegisterButton() {
}

public static String getPassword() {
return password.getText();
return password.getPassword().toString();
}


Expand All @@ -230,7 +230,7 @@ public static String getUsername() {
}

public static String getPasswordRF() {
return password.getText();
return password.getPassword().toString();
}

public static String getDepString() {
Expand Down

0 comments on commit 95ebfd4

Please sign in to comment.