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)
第1题:
下列不属于接口WindowListener的方法是( )。
A.windowClosing
B.windowClosed
C.windowMinimized
D.windowOpened
第2题:
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)
第3题:
下列叙述不正确的是()。
A.JButton对象可以使用 addActionLister(ActionListener ls) 方法将没有实现ActionListener接口的类的实例注册为自己的监视器。#B.监视WindowEvent事件的监视器必须实现WindowListener接口。#C.窗口可以调用setTitle(String s)方法设置窗口的标题。#D.JFrame创建的窗口默认是不可见的。第4题:
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)
第5题:
此题为判断题(对,错)。