How can I use the CSS white space property
pre-wrap with a Swing HTML text component?
Asked
Active
Viewed 397 times
2 Answers
6
You can try https://code.google.com/p/flying-saucer/ which supports CSS 2.1 or write your own view (ParagraphView extension in the HTMLEditorKit)

StanislavL
- 56,971
- 9
- 68
- 98
-
Flying-soucer says: "It cannot be used for user-editable content; output is read-only." so I guess its not an option, since I would like to have it editable. – Jun 14 '13 at 10:49
-
To do it by myself by creating a variant of a Kit, do you think reading core Swing by Kim Topley would be a good preparation? – Jun 15 '13 at 11:33
1
This thread might help, they recommend using the Jaxx Framework
edit website recently went down, I'll leave the link there incase it gets brought back
here is the sourceforge link
-
[here](http://sourceforge.net/projects/jaxx/?source=navbar) is the sourceforge, any general info was on that website, or on discussions about it on websites like SO – Stephan Jul 11 '13 at 12:35