第22题: [单项选择]WindowListener中可以实现窗口关闭功能的方法是 A. public void windowOpened(WindowEvent e) B. public void windowClosed(WindowEvent e) C. public void windowClosing(WindowEvent e) D. public void windowDeactivated(WindowEvent e) 参考答案:B 答案解析:[解析] 本题考查事件监听器的概念。窗口事件接口WindowListener有几个关键方法,应该注意,如public void windowClosing(WindowEvent e)是把退出窗口的语