The Brunch Table

4/28/2003

HTML Support in JEditorPane

Filed under: — Joe @ 4:48 pm

The JEditorPane control in Java 1.3+, being a random proprietary HTML renderer, has a particular set of constructs that it supports and doesn’t support. Since my current work unfortunately requires an intimate familiarity with this passel of peculiarities, and my google-fu hasn’t turned up any suitable references, I’m going to keep an ongoing catalogue of my findings in this entry. If you find errors or stupidities (I freely admit that I’m not very HTML-savvy), or you know of a comprehensive reference, please let me know. (more…)

Improving JEditorPane’s Image Handling

Filed under: — Joe @ 10:53 am

Here’s a great article about tweaking the image handling in the JEditorPane control in Java. This stuff might help me get rid of some obnoxious flakiness in one of the projects that I’m working on. (Specifically, sometimes “broken image” icons are still partially visible after an image has finished loading, and there are issues with when animated GIFs get played as well.)

Powered by WordPress