让Java swing 中的JTextArea换行

JTextArea有一个函数setLineWrap(boolean wrap),当输入到文本框的末尾时就换行。
posted @ 2016-04-21 18:39  坚哥威武  阅读(1952)  评论(0编辑  收藏  举报