Thomas Weidenfeller <> wrote:
> bugbear wrote:
>> IIRC Sun had a native java Browser.
>
> Yes, it was called HotJava.
>
> Parts of it became the HTML parser in Swing. This parser-related
> comp.lang.java.gui FAQ (v1.13) questions:
>
> Q6.3.2 I have problems using the Swing HTML parser to parse all kinds
> of HTML. Is this normal?
> Q6.3.3 Some of my CSS styles don't work out. Is this normal?
> Q6.3.6 If HTML support is really so broken in Java, what is it good
> for?
From the answers in the FAQ, the Swing HTML parser seems old and broken
(for real world purposes). So back to my original question, is there
anything out there that'll do what I want (render and relate to a DOM
tree)? I've looked at NekoHTML/JTidy/Xerces. It was easy to have them
build a DOM document for a HTML page. But they don't have any rendering
component. JRex *seems* like it has what I want but I haven't had time
to mess with it.
Thanks.
--
Xiaolei Li |
|
www.xiaolei.org