Method createDialog(Component parentComponent, String title)
Return type: javax.swing.JDialog
Member of: javax.swing.JOptionPane
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 JDialog dialog = pane.createDialog(this, "Exit?");
2 JDialog dialog = pane.createDialog(this, "Warning");
3 JDialog passDialog = passPane.createDialog(this, "Authentication");
4 final JDialog dialog = learnPane.createDialog(this, "Learning");
5 final JDialog dialog = optionPane.createDialog(this, "Add attribute");
6 final JDialog dialog = optionPane.createDialog(this, "Add object");
7 JDialog dialog = pane.createDialog(null, "RadioButton Example");
8 dialog = pane.createDialog(parentComponent, title);
9 JDialog dialog = pane.createDialog(parent, title);
10 JDialog dialog = pane.createDialog(parentComponent, title);
11 JDialog dialog = pane.createDialog(getMainFrame(), Resources.TITLE_URL_SEL);
12 dialog = jop.createDialog(null, title);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.