For more information, see the applet and full source code.
The correct code should be:
String s, s2; s = "item"; s2 = s.valueOf(s); s3 = String.valueOf(s);