setLineWrap (true);. In a Swing GUI Designer Like Netbeans IDE,. you could just 'check' the lineWrap in jTextArea property window.
確定! 回上一頁