I know people have asked this question before, but they didn't use .equals().  So I am going to ask again, why is that I have two strings, but when I compare them with .equals() I get false.  The two strings are 1234 (passwordField2.getPassword() and String s = bufferedreader.readLine().)  I have used s.toCharArray to compare them, and same thing.  I tried printing them both out and I got
1234
 1234
Does anyone know why this is happening? Thank you!
 
     
     
     
    