Use the JTextArea#setLineWrap method. This is also illustrated in the Swing JTextArea tutorial,To wrap the lines of JTextArea we need to ...
確定! 回上一頁