Well I do have another doubt! but since its a related one I'm posting in the same forum! I use myjTextArea.setLineWrap(true) to wrap the line and myjTextArea.setWrapStyleWord(true)
wraps the word at whitespace. The requirement is to wrap at strings.
data is in datetime format which is something like 2008-12-20 17:35:45.02008-12-20 17:36:45.0 etc
If I use setWrapStyleWord(true) it gives me