Making Swing split long words in HTML output

Feb 23, 2004 04:30 · 61 words · 1 minute read

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.)