textarea 自动到右边就换行

java

到最右边的时候自动换行如实例:

textArea.setLineWrap(true);

原文地址:https://www.cnblogs.com/8335IT/p/3634517.html