setLineWrap (true);. JTextArea tArea2 = new JTextArea();. tArea2.setLineWrap(true);. tArea1.setText("I got a long long line of text in my JTextArea");.
確定! 回上一頁