private void inputNilaiMhsPknActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_inputNilaiMhsPknActionPerformed
        // TODO add your handling code here:
        if (nilaiPekanMhs.getText().length() > 0) {
            try {
                pekanMhs p = new pekanMhs();
                p.setNip(nip);
                if (Integer.parseInt(nilaiPekanMhs.getText()) < 100 && Integer.parseInt(nilaiPekanMhs.getText()) > 0) {
                    p.setNim(mhs.getNim());
                    p.setPekan(pekanMhs.getSelectedItem().toString());
                    p.setNilai(nilaiPekanMhs.getText());
                    ControllerPekanMhs cpm = new ControllerPekanMhs();
                    try {
                        cpm.insert(p);
                    } catch (SQLException ex) {
                        JOptionPane.showMessageDialog(mailContent, "Akses ditolak");
                    }
                    try {
                        recordPekanMhs = cpm.getAll(nip, mhs.getNim());


                    } catch (SQLException ex) {
                        Logger.getLogger(FormInduk.class
                                .getName()).log(Level.SEVERE, null, ex);
                    }
                } else {
                    JOptionPane.showMessageDialog(mailContent, "Nilai diluar range");
                }
                isiTabelPekanMhs();
            } catch (Exception ex) {
                JOptionPane.showMessageDialog(mailContent, "tolong angka");
            }
        }
    }