下列方法中,不属于WindowListener接口的是( )。

admin2010-12-17  26

问题 下列方法中,不属于WindowListener接口的是(    )。   

选项 A、windowOpened()     
B、windowClosed()
C、windowActivated()     
D、mouseDragged()

答案D

解析  WindowListener接口包含的方法是:①*windowActivated(WindowEvent):②*windowOpcned(WindowEvcnt);③*windowClosed(WindowEvent);④*windowClosing(WindowEvent);⑥*windowDeactivated(WindowEvent();⑥* windowDeiconified(WindowEvent)⑦*windowlconified(WindowEvent);所以D选项错误。
转载请注明原文地址:https://kaotiyun.com/show/7v9p777K
0

随机试题
最新回复(0)