The next line of code registers a TextDemo object as an action listener for the text field. textField.addActionListener(this);.
確定! 回上一頁