println("some action"); } }; JTextField textField = new JTextField(10); textField.addActionListener( action );. Now the event is fired when the Enter key is ...
確定! 回上一頁