Browse Source

Added basic click functionality to login button

remotes/origin/server
Richard Schmidt 11 months ago
parent
commit
d0428d81ca
  1. 8
      src/main/java/LoginGUI.java

8
src/main/java/LoginGUI.java

@ -39,7 +39,15 @@ public class LoginGUI extends JFrame implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == loginButton) {
String username = usernameField.getText();
String password = new String(passwordField.getPassword());
//Add login functionality
JOptionPane.showMessageDialog(this, "Login");
}
}

Loading…
Cancel
Save