How can i get the content of JTextArea with out loosing Indentation.
I am developing one mail sending application. I am getting mailid , from address, mail body from one Swing. In one JTextArea i am typing i have typed some matter. When i call the content of JTextArea using
jtx.getText() method, i am getting all the content as one paragraph. That means there is no indentation which was there in TextArea.
Please provide me some solution how can i get the content of JTextArea wiht out loosing indentation.

