String content must be compared with equals() method ... not with == .