处理鼠标事件时,通过()方法将监听器绑定到事件源对象。
A.mousePressed()
B.addMouseListener()
C.mouseEntered()
D.mouseClicked()
正确答案:A
猜你喜欢