private void jButton26ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton26ActionPerformed
        // TODO add your handling code here:
        if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
                "Yakin?", "Konfirmasi", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE)) {
            if (sinyalHapus == 0) {
                Pesan pesan = new Pesan();
                pesan.setIdOrang(tempPengirim);
                pesan.setIsi(isiBukaPesan.getText());
                pesan.setTgl(jLabel44.getText());
                pesan.setJam(jLabel45.getText());
                pesan.setPenerima(tempPenerima);
                try {
                    if (dosenExist == true) {
                        prosespesan.deletePsnMhsMsuk(pesan, 0);
                        this.loadPesan("dosen", 0);

                    } else {
                        prosespesan.deletePsnMhsMsuk(pesan, 1);
                    }

                    prosespesan.komit();


                } catch (SQLException ex) {
                    Logger.getLogger(FormInduk.class
                            .getName()).log(Level.SEVERE, null, ex);
                }
            } else if (sinyalHapus == 1) {
                Pesan pesan = new Pesan();
                pesan.setIdOrang(tempPenerima);
                pesan.setIsi(isiBukaPesan.getText());
                pesan.setTgl(jLabel44.getText());
                pesan.setJam(jLabel45.getText());
                pesan.setPenerima(tempPenerima);
                pesan.setPengirim(onUsed);
                try {
                    if (dosenExist == true) {
                        prosespesan.deletePsnMhsKlr(pesan, 0);
                        this.loadPesan("dosen", 0);

                    } else {
                        prosespesan.deletePsnMhsKlr(pesan, 1);
                    }
                    prosespesan.komit();


                } catch (SQLException ex) {
                    Logger.getLogger(FormInduk.class
                            .getName()).log(Level.SEVERE, null, ex);
                }
            }

            bacaPsnMasukMhs.hide();
            try {
                this.loadPesan("siswa", 1);


            } catch (SQLException ex) {
                Logger.getLogger(FormInduk.class
                        .getName()).log(Level.SEVERE, null, ex);
            }
        }
    }