|
@ -14,7 +14,28 @@ public class LoginGUI extends JFrame implements ActionListener { |
|
|
private JButton loginButton; |
|
|
private JButton loginButton; |
|
|
private JCheckBox stayLoggedInCheckbox; |
|
|
private JCheckBox stayLoggedInCheckbox; |
|
|
private JButton signUpButton; |
|
|
private JButton signUpButton; |
|
|
|
|
|
|
|
|
|
|
|
public JTextField getUsernameField() { |
|
|
|
|
|
return usernameField; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JPasswordField getPasswordField() { |
|
|
|
|
|
return passwordField; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JButton getLoginButton() { |
|
|
|
|
|
return loginButton; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JCheckBox getStayLoggedInCheckbox() { |
|
|
|
|
|
return stayLoggedInCheckbox; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JButton getSignUpButton() { |
|
|
|
|
|
return signUpButton; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public LoginGUI() { |
|
|
public LoginGUI() { |
|
|
setTitle("Login"); |
|
|
setTitle("Login"); |
|
|
setSize(300, 220); |
|
|
setSize(300, 220); |
|
|