Method showConfirmDialog(Component parentComponent, Object message)
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 if (!((WrapperInterface)allChildren.elementAt(i)).getShowDialog() || (JOptionPane.showConfirmDialog( (Component)this, "Do you want to go external?" ) == JOptionPane.YES_OPTION) )
2 JOptionPane.showConfirmDialog(this, "Confirm Dialog");
3 if(JOptionPane.showConfirmDialog(this,lang.get("gdtoomuch",new String[]{list.size()+""}))==
4 int res = JOptionPane.showConfirmDialog(this, BasicUtilities.getString("Service_Cancel_Confirm"));
5 (this,"Do you want me to create the target directory\n"+
6 showConfirmDialog(null,
7 int option = JOptionPane.showConfirmDialog(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.