I am using a Jeditorpane and adding text from a server. I want to use html to change font color/background etc. When I setText at the first, html is fine, but later when I add more text to the Jeditorpane it is not rendered. Can someone please suggest how I can work around this problem?