在事件处理函数中使用哪个函数得到触发事件的对象本身:
A.getActionCommand() B.getSource() C.getAction() D.getCommand()
getActionCommand()
getSource()
getAction()
getCommand()
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。