从Java TextComponent 页面:. setText public void setText(String t) Sets the text ... 这将选择整个textArea,然后将其替换为空字符串,从而有效地清除JTextArea。
確定! 回上一頁