Method showConfirmDialog(Component parentComponent, Object message, String title, int optionType)
Return type: int
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 JOptionPane.showConfirmDialog(this,
2 JOptionPane.showConfirmDialog(this,
3 int doSave = JOptionPane.showConfirmDialog(this,
4 JOptionPane.showConfirmDialog(this,
5 int proceed = JOptionPane.showConfirmDialog(this, "There are unsaved changes to this ontology. If you create a new ontology, your changes will be discarded. Are you sure you want to proceed?", "Unsaved changes", JOptionPane.YES_NO_OPTION);
6 int doSave = JOptionPane.showConfirmDialog(this,
7 int value = JOptionPane.showConfirmDialog(
8 int proceed = JOptionPane.showConfirmDialog(this, "There are unsaved changes to this ontology. If you load this file, your changes will be discarded. Are you sure you want to proceed?", "Unsaved changes", JOptionPane.YES_NO_OPTION);
9 JOptionPane.showConfirmDialog(this,
10 if( JOptionPane.showConfirmDialog(
11 (this, Messages.formatMessage("script.confirm",
12 int opt = JOptionPane.showConfirmDialog(this, msg, "", JOptionPane.YES_NO_OPTION);
13 int close = JOptionPane.showConfirmDialog(c, "Close XML Content File ?", "Close XML Content", JOptionPane.OK_CANCEL_OPTION);
14 if (JOptionPane.showConfirmDialog(null,
15 int response = JOptionPane.showConfirmDialog(this,
16 if (!moses.prefs.Preferences.getLoadedDemoRepository() && JOptionPane.showConfirmDialog(browser, "Do you want to extract the Demo repository?", "Moses", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
17 if(JOptionPane.showConfirmDialog(
18 int result = JOptionPane.showConfirmDialog(this, b, "Select setting", JOptionPane.OK_CANCEL_OPTION);
19 int reply = JOptionPane.showConfirmDialog(this,
20 int reply = JOptionPane.showConfirmDialog(frame, "Do you really want to exit?", "Exit " +APP_NAME+"...", JOptionPane.YES_NO_OPTION);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.