2009年4月14日 - Word Wrap?? textarea=new JTextArea(rows,columns); textarea.setLineWrap(true ); ok?
zhidao.baidu.com