Originally Posted by
KevinWorkman
The problem is that JTextPane & JEditorPane are difficult to use for editable html data. SetPage(), URL etc. are all for one time updates. So far I was able to replace the whole document every time an html link and an emoticon pops up but that is very slow. To update html data I had to use some kind of HTMLEditorKit. And also add mouse listeners and other stuff. Not a satisfactory solution overall. Actually implementing emoticons turn out to be easier, all I had to do was replace them with icons from this forum and it worked fine.