| 软件包 | 描述 |
|---|---|
| javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
| Modifier and Type | Method and Description |
|---|---|
protected JDialog |
JFileChooser.createDialog(Component parent)
创建并返回一个新的
JDialog包装
this围绕在
parent的框架
parent。
|
JDialog |
JOptionPane.createDialog(Component parentComponent, String title)
创建并返回一个新的
JDialog包装
this围绕在
parentComponent的框架
parentComponent。
|
static JDialog |
JColorChooser.createDialog(Component c, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)
创建并返回一个新的对话框包含指定
ColorChooser窗格随着“确定”、“取消”和“重置”按钮。
|
JDialog |
JOptionPane.createDialog(String title)
创建并返回一个新的父母
JDialog指定标题的。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.