A、windowActivated(WindowEvent)
B、windowClosed(WindowEvent)
C、windowOpened(WindowEvent)
D、windowDeactivated(WindowEvent)
查看答案
正确答案
试题解析
解析:本题考查关于窗口监听器接口中基本方法的知识。选项A正确,window Activated(WindowEvent)方法在窗口激活时被调用到:选项B错误,windowClosed (WindowEvent)方法在窗口已经被关闭时调用:选项C错误,windowOpened(WindowEvem)方法在窗口已经打开时被调用到;选项D错误, windowDeactivated(WindowEvent)方法与窗口不再激活时被调用到。故本题答案是A。