问题:[填空题]
true
● 参考解析
本题是考查对话框的有关属性和使用方法。Dialog是Window的子类,它表示一个对话窗口。与Frame不同,它的存在依赖于其他窗口,当它所依赖的窗口被关闭时,对话框也消失。当指定的对话框为modal,这时当对话框出现时,用户只能对它进行操作,而不能对其他窗口进行操作。Dialog的构造方法如下Dialog(Frameparent,Booleanmodal);Dialog(Frameparent,Stringtitle,Booleanmodal);