private void uUnenrollActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_uUnenrollActionPerformed
    // Unenroll Window :: Submit
        if (jCheckBox1.isSelected() || jCheckBox2.isSelected() || jCheckBox3.isSelected()){ // Selected both classes
                int n = JOptionPane.showConfirmDialog(rootPane, "You have elected to unenroll from the following classes:\n" + jCheckBox1.getText() + "\n" + jCheckBox2.getText() + "\n\n\nAre you sure you want to do this?", "Confirmation", JOptionPane.YES_NO_OPTION);
                if (n == 0){ // Yes to the previous dialogue is "0"
                    
                    // No db mods necessary
                    
                    JOptionPane.showMessageDialog(rootPane, "Your unenrollment has been processed successfully.", "Unenrollment Successful", JOptionPane.WARNING_MESSAGE);
                }
            }
        unenroll.setVisible(false);
    }