How is word-wrapping implemented in JTextPane, and how do I make it wrap a string without spaces?
Solution 1:
The link about custom wrap (forced wrap and no wrap). http://java-sl.com/wrap.html
The link about letter wrap http://java-sl.com/tip_html_letter_wrap.html