|
|
@ -4,7 +4,7 @@ import java.awt.event.ActionListener; |
|
|
|
import java.util.UUID; |
|
|
|
|
|
|
|
public class SignUpGUI extends JFrame implements ActionListener { |
|
|
|
|
|
|
|
private JTextField usernameField; |
|
|
|
|
|
|
|
public SignUpGUI() { |
|
|
|
setTitle("Sign Up"); |
|
|
@ -12,7 +12,13 @@ public class SignUpGUI extends JFrame implements ActionListener { |
|
|
|
setDefaultCloseOperation(EXIT_ON_CLOSE); |
|
|
|
setLayout(null); |
|
|
|
|
|
|
|
|
|
|
|
JLabel usernameLabel = new JLabel("Username:"); |
|
|
|
usernameLabel.setBounds(20, 20, 80, 25); |
|
|
|
add(usernameLabel); |
|
|
|
|
|
|
|
usernameField = new JTextField(); |
|
|
|
usernameField.setBounds(100, 20, 160, 25); |
|
|
|
add(usernameField); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|