So ändern ja/Nein-option im Bestätigungsdialog?

Möchte ich ändern, JA und NEIN, um so etwas wie Zustimmen/nicht Zustimmen.
Was soll ich tun?

int reply = JOptionPane.showConfirmDialog(null,
                                          "Are you want to continue the process?",
                                          "YES?",
                                          JOptionPane.YES_NO_OPTION);
Schreibe einen Kommentar