How is word-wrapping implemented in JTextPane, and how do I make it wrap a string without spaces?

后端 未结 1 1044
渐次进展
渐次进展 2020-12-03 19:01

How exactly is word-wrapping implemented in JTextPane?

I\'m trying to understand exactly how it works so that I can modify the behavior. Right now, if I have a stand

相关标签:
1条回答
  • 2020-12-03 19:46

    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

    0 讨论(0)
提交回复
热议问题