【发布时间】:2014-07-22 01:50:14
【问题描述】:
In most of the text editors, I have seen that when text is selected, all the line changes the color to the selection color.
但是在 JTextArea 中,在选择过程中只有文本颜色在选择过程中发生变化。
如何在 JTextArea 中实现上述选择类型,其中所有选择区域都是彩色的?我找不到任何可以完成这项工作的方法。
【问题讨论】:
标签: java swing user-interface textarea swing-highlighter