Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jtextpane not wrapping text when set content type to text/html

843806Aug 8 2008 — edited Aug 8 2008
hello,

i am using jtextpane for my messenger client chatting application. It was wrapping text fine, until i set its content type from 'text/plain' to 'text/html'. then after this change, when i tried to write text using doc.insertString() method then the text inserted did not wrap.

Anybody having any solution to this problem, please tell me.

Edited by: syedwaseemadil on Aug 8, 2008 3:22 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2008
Added on Aug 8 2008
1 comment
63 views