p { margin-bottom: 0.21cm; }a:link { }
-
Dialog 类
-
Dialog 临时窗体 不可改变大小 一般是用作与客户通信
-
Dialog 与FileDialog 类
-
Dialog 类用于产生对话框
-
模态对话框和非模态对话框
-
模态对话框就是在关闭模态对话框之前不能对其他窗体进程操作
-
-
Dialog 类的常用的构造方法
-
Dialog 常用的方法
-
返回父窗体 getOwner()
-
-
FileDialog 类
此类是用来提供打开或保存的对话框
构造方法
FileDialog ( Dialog parent, String title, int mode)
创建一个具有指定标题的文件对话框窗口,用于加载或保存文件。
常量
| static int | LOAD |
| static int | SAVE |
本文介绍了Dialog类和FileDialog类的基本概念、构造方法及常用属性。Dialog类主要用于创建模态和非模态对话框,而FileDialog类则专门用于文件的打开与保存对话框。

被折叠的 条评论
为什么被折叠?



