setLayout(new GridLayout()); textArea.setText("test"); //当TextArea里的内容过长时生成滚动条panel.add(new JScrollPane(textArea)); ...
確定! 回上一頁