This is a common error. The toString method returns a new
string, so when you use the == it looks to see if they are the same object, not thier content. Since they are two different objects since both were created with the new keyword, they will evalute to false. If you did equals() then it would be true since this looks at the contents of the String object.
Bill