Hello, It works for me. But of course only at the console (eg System.out.println("name\ncity\nzip")). You can't do it this way drawing to an Applet (or Panel). And sorry to say, I don't think it's possible (I'm pretty sure I read that once). Good Luck, -Dirk Schreckmann
Thanks everyone!!! I got busy in some other stuff yesterday and did not get time at all to check on this. I am sorry. It did work the way it is supposed to work. But my problem is solved with some other way. Thanks once again to all of you.
subject: Storing "new line character " in a string