> Hi there, can anyone tell me how to do the formatting on JTextArea
> object, for example I want to store some content in a JTextArea object
[quoted text clipped - 8 lines]
> need to add strings in one by one, so it doesn't work too.
> please help!~
To append text, use JTextArea's append(String) method.
JTextArea is fairly limited for the formatting you require. You could
use a fixed size (monospace) font on the JTextArea, set tab width and
use tabs or spaces to format your data appropriately.
Since your data seems to be in table format, so you might consider using
a JTable instead.

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \