private void daftarUserActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_daftarUserActionPerformed
        tabelSiswaAdmin.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
                row = tabelSiswaAdmin.getSelectedRow();
                if (row != -1) {
                    kelasMhsAdmin.setText("kelas");
                    statusMhsAdmin.setText("status");
                    editKelasAdmin.show();
                    editStatusAdmin.show();
                    Mahasiswa m = recordSiswa.get(row);
                    editNimAdmin.setText(m.getNim());
                    editNamaAdmin.setText(m.getNama());
                    editKelasAdmin.setText(m.getKelas());
                    editStatusAdmin.setText(m.getStatus());

                    editMahasiswa.show();
                }
            }
        });
        tabelDosenAdmin.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
                row = tabelDosenAdmin.getSelectedRow();
                if (row != -1) {
                    idEditUserAdmin.setText("nip");
                    kelasMhsAdmin.setText("");
                    statusMhsAdmin.setText("");
                    editKelasAdmin.hide();
                    editStatusAdmin.hide();
                    Dosen d = recordDosen.get(row);
                    editNimAdmin.setText(d.getNip());
                    editNamaAdmin.setText(d.getNama());

                    editMahasiswa.show();
                }
            }
        });
        try {
            // TODO add your handling code here:
            recordSiswa = cm.getAll();
            recordDosen = cd.getAll();
            isiTabeSiswa();
            isiTabelDosen();
            isiTabeladmin();
            CardLayout cad = (CardLayout) kontenAd.getLayout();
            cad.show(kontenAd, "listAd");


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