hi,
I have already set contentType as "text/html", then only i got the answer above mentioned like that. When I posted the query to this site with my output it was converted into Original format. So please refer below link to see my Original post
http://forums.about.com/n/pfx/forum.aspx?msg=2382.1&nav=messages&webtag=ab-java
i will explain my requirement in detail.
My GUI consists of a jEditorPane in which the user will paste the formatted text from MS
word or some other application (formatted text contains->un ordered list contents, bold text, italic texts, underlined text, etc). While user clicks the button, one auto mail is generated in which the formatted content is gathered from jEditorPane and the given user’s information is stored into
string variable and it will be included into the mail.
When I fetch the contents from jEditorPane, it won’t retrieve full set of contents and also it won’t allow to paste the formatted text like bolded text, color changed texts, underlined text are not allowed.
I need to know which swing control I can use to meet my requirement as specified. Please educate me how to proceed in this case.
Many Thanks in advance