Method showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
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 error.showConfirmDialog(this, "Fill in the fields.", "Error", JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null);
2 int result = JOptionPane.showConfirmDialog(null,
3 int value = JOptionPane.showConfirmDialog(
4 final int value = JOptionPane.showConfirmDialog(
5 int value = JOptionPane.showConfirmDialog(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.