Code for JOptionPane buttons
posted 6 years ago
How should one write code for the the YES, NO and CANCEL buttons of showConfirmDialog() of JOptionPane. Like if its YES then one must delete all the info from the database, NO then don't delete and CANCEL to go back!!