btnOk.addActionListener(new myEvent());//按鈕事件class myEvent implements ActionListener{@Overridepublic void actionPerformed(ActionEvent e) {txtShow.setText(txtName.getText() + ",您好!");請(qǐng)問(wèn)按鈕怎么去調(diào)用actionPerformed這個(gè)方法?ActionEvent e?e又代表什么?
請(qǐng)教事件處理程序
qq_我輸過(guò)但從未怕過(guò)_0
2016-06-05 20:56:37