Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java Tutorial 2 - "Login System"

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,166
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 6, 2011

i do realize i made a mistake it should of been pass.getText.equals()

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • You can do: import javax.swing.*;  instead of all those others if you want...

  • If you wish to have multiply users you can simple have this for checking the login, it may need to be modified to fit the program but here is a basic one public string[] users = {Usernames here}; public string[] passs = {Passwords here}; boolean login = false; for(i==0;i>=users[].getLength(­);i++){ if(user.getText.equals(users[i­]) && pass.getText.equals(passs[i]){ //Login went good login = true; } } if(login == false){ //wrong user or pass }
  • oh i got it.. awake and alive by skillet.

  • anyone knows this songs? the 1st song i mean

    

  • anyone knows this songs?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more