【问题标题】:Displaying newline character in any JTextComponent?在任何 JTextComponent 中显示换行符?
【发布时间】:2012-11-16 05:39:17
【问题描述】:

如何在任意JTextComponentJTextAreaJTextPane)中显示换行符?

【问题讨论】:

  • 我希望编辑器中出现的不是新行,例如星号。

标签: java swing newline jtextcomponent


【解决方案1】:

猜你需要的是http://java-sl.com/showpar.html

它不仅显示par shars的结尾,还显示空格和制表符。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-04
    • 2012-11-09
    • 2010-12-25
    • 1970-01-01
    相关资源
    最近更新 更多