Hi,
I need to paint a text string consisting of
'\n' char in between. I tried using drawString
method but gets me a junk whereever '\n' occurs.
Is there a simple way of solving this problem
without parsing the text?

e.g.
g.drawString("This is \n a test");

gets me the output like this:

This is 'junk' a test

Thanks.
Kannan