I found the answer to my own question, with help from the Sun
Developer Forum. Rather that using HTMLEditorKit to write the
HTML text, you can subclass HTMLWriter, overriding the
canGetWrapLines() method so that it always returns false.
HTMLEditorKit.ParserCallback might be worth looking at sometime.
The problem occurs when writing the HTML, not when reading it, so I
don't see how changing the parser could help...
Sorry, I didn't look at this closely enough and thought it was a
display problem because of how it was read. My mistake.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden