Has anybody used javax.swing.text.html.HTMLDocument class? basically, i want to pass around such object among some methods which will add stuff to the objects before print it finally. I'm looking for examples of it's usage.