Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. if(name == username.getText() && pass == Password.getText()){
  2. //allow access
  3. System.exit(0);
  4. }
  5. else{
  6. //deny
  7. btnLogIn.setText("Wrong username or password");
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement