Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(name == username.getText() && pass == Password.getText()){
- //allow access
- System.exit(0);
- }
- else{
- //deny
- btnLogIn.setText("Wrong username or password");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement