|
@ -7,6 +7,32 @@ import java.util.UUID; |
|
|
public class SignUpGUI extends JFrame implements ActionListener { |
|
|
public class SignUpGUI extends JFrame implements ActionListener { |
|
|
private JTextField usernameField, passwordField, confirmPasswordField, birthdayField, firstNameField, surnameField; |
|
|
private JTextField usernameField, passwordField, confirmPasswordField, birthdayField, firstNameField, surnameField; |
|
|
private JButton signUpButton; |
|
|
private JButton signUpButton; |
|
|
|
|
|
|
|
|
|
|
|
public JTextField getUsernameField() { |
|
|
|
|
|
return usernameField; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JTextField getPasswordField() { |
|
|
|
|
|
return passwordField; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JTextField getConfirmPasswordField() { |
|
|
|
|
|
return confirmPasswordField; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JTextField getBirthdayField() { |
|
|
|
|
|
return birthdayField; |
|
|
|
|
|
} |
|
|
|
|
|
public JTextField getFirstNameField() { |
|
|
|
|
|
return firstNameField; |
|
|
|
|
|
} |
|
|
|
|
|
public JTextField getSurnameField() { |
|
|
|
|
|
return surnameField; |
|
|
|
|
|
} |
|
|
|
|
|
public JButton getSignUpButton() { |
|
|
|
|
|
return signUpButton; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public SignUpGUI() { |
|
|
public SignUpGUI() { |
|
|
setTitle("Sign Up"); |
|
|
setTitle("Sign Up"); |
|
|