哪个方法可得到 WindowEvent 中的事件源 ?
举一反三
- getFrame方法可以从WindowEvent获取事件源。
- 事件getSource()方法得到的事件源对象。
- 下列Java常见事件类中哪个是鼠标事件类? A: InputEvent B: KevEvent C: MouseEvent D: WindowEvent
- 当窗口被激活时,调用的窗口事件的方法是() A: Public void windowDeactivated ( WindowEvent ) B: Public void windowIconified( WindowEvent ) C: Public void windowActivated ( WindowEvent ) D: Public void windowOpened ( WindowEvent )
- 中国大学MOOC:事件getSource()方法得到的事件源对象。