private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton14ActionPerformed
        // TODO add your handling code here:
        List<Mahasiswa> lm = new ArrayList<>();
        List<String> ls = new ArrayList<>();
        int i = 0;
        try {
            lm = cd.getAllBinaan(nip);


        } catch (SQLException ex) {
            Logger.getLogger(FormInduk.class
                    .getName()).log(Level.SEVERE, null, ex);
        }
        daftarBinaanDosen.removeAllItems();
        for (Mahasiswa mhs : lm) {
            ls.add((mhs.getNim() + ". " + mhs.getNama() + " --" + mhs.getJudul()));
        }
        for (String s : ls) {
            daftarBinaanDosen.addItem(s);
            System.out.println("" + s);
        }

        pesanMasukDosen.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
                int row = pesanMasukDosen.getSelectedRow();
                if (row != -1) {
                    sinyalHapus = 0;
                    jLabel15.setText("dari    : ");
                    jLabel43.setText("siswa");
                    Pesan pesan = recordMasuk.get(row);
                    jLabel44.setText(pesan.getTgl());
                    jLabel45.setText(pesan.getJam());
                    isiBukaPesan.setText(pesan.getIsi());
                    tempPengirim = onUsed;
                    tempPenerima = pesan.getIdOrang();
                    bacaPsnMasukMhs.show();
                }
            }
        });

        pesanKeluarDosen.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
                int row = pesanKeluarDosen.getSelectedRow();
                if (row != -1) {
//                    isiText();
                    sinyalHapus = 1;
                    jLabel15.setText("ke    : ");
                    jLabel43.setText("siswa");
                    Pesan pesan = recordKeluar.get(row);
                    jLabel44.setText(pesan.getTgl());
                    jLabel45.setText(pesan.getJam());
                    isiBukaPesan.setText(pesan.getIsi());
                    tempPengirim = onUsed;
                    tempPenerima = pesan.getIdOrang();
                    bacaPsnMasukMhs.show();
                }
            }
        });
        try {
            // TODO add your handling code here:
            this.loadPesan("dosen", 0);
            CardLayout cad = (CardLayout) konten.getLayout();
            cad.show(konten, "pesan");


        } catch (SQLException ex) {
            Logger.getLogger(FormInduk.class
                    .getName()).log(Level.SEVERE, null, ex);
        }
        CardLayout cad = (CardLayout) kontenDos.getLayout();
        cad.show(kontenDos, "pesan");
    }