textArea = new JTextArea(5, 20); JScrollPane scrollPane = new JScrollPane(textArea); ... but the user cannot change the text area's contents directly.
確定! 回上一頁