When doing a string compare use the function: String.equals(String)
The reason is a String is an object and "==" is a binary compare. Two different strings which have the same content, are not...