|
@ -39,7 +39,15 @@ public class LoginGUI extends JFrame implements ActionListener { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void actionPerformed(ActionEvent e) { |
|
|
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"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|