TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG-DEVEL:138] Java HTML parser
Perry Hoekstra <dutchman@uswest.net> writes:
> Bob Tanner wrote:
>
> > To my dismay, Sun no longer offers the HotJava HTML Components.
> >
> > Anyone know where I can get some good Java Components for parsing HTML,
> > rendering is not need, just parsing for right now.
Look at the javax.swing.text.html package in java. There's an html parser in
there and you can render it in a JTextPane. If you just want an html parser,
you can look at antlr, http://www.antlr.org.
--
Jon Schewe
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org