void isiTabelMasuk(String status) throws SQLException {
        Object data[][] = new Object[recordMasuk.size()][4];
        int x = 0;
        for (Pesan pes : recordMasuk) {
            data[x][0] = pes.getTgl();
            data[x][3] = pes.getIsi();
            data[x][2] = pes.getPengirim();
            data[x][1] = pes.getJam();
            x++;
        }

        String judul[] = {"tanggal", "jam", "dari", "isi"};
        if (status.equals("siswa")) {
            pesanMasukSiswa.setModel(new DefaultTableModel(data, judul));
            jScrollPane2.setViewportView(pesanMasukSiswa);
            totalInMail.setText(prosespesan.jumlahMailMasuk(onUsed));
        } else {
            pesanMasukDosen.setModel(new DefaultTableModel(data, judul));
            jScrollPane4.setViewportView(pesanMasukDosen);
            totMailDsn.setText(prosespesan.jumlahMailMasuk(onUsed));
        }

    }