拜托,我说过了,是TextArea 不是 JTextArea

解决方案 »

  1.   

    一样的啊,就不能自己变通么?
    wrap="soft"
      

  2.   

    textArea.setLineWrap(true);//设置自动换行
      

  3.   

    sup_haiker(轩辕才子) ( ) 
          textArea.setLineWrap(true);//设置自动换行这个是在 JTextArea 里面才有的啊, 请看清楚我的问题好吗!!??
      
     
      

  4.   

    from java api docTextArea(String text, int rows, int columns, int scrollbars) 
              Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility as specified.static int SCROLLBARS_VERTICAL_ONLY 
              Create and display vertical scrollbar only
      

  5.   

    谢谢, liad  ,
    我也是刚刚查到, 多谢了!这才是我要的,加分!!! 希望其他的人以后搞清楚问题再说话,不过还是要谢谢你们!!!