Making Swing split long words in HTML output

by Kevin Dangoor

Keith on the Joustlog has a nice tip for joustlog: How to make the Swing HTML renderer split long words when wrapping. Not something I need at the moment, but certainly a good thing to keep in mind. (In case the link rots, the basic idea was to subclass HTMLEditorKit, creating a new ParagraphView that gets returned by a new ViewFactory.)