private void inputNilaiMhsPkn1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_inputNilaiMhsPkn1ActionPerformed
        // TODO add your handling code here:
        if (nilaiPekanMhs1.getText().length() > 0) {
            try {
                pekanKlmpk p = new pekanKlmpk();
                p.setNip(nip);
                if (Integer.parseInt(nilaiPekanMhs1.getText()) < 100 && Integer.parseInt(nilaiPekanMhs1.getText()) > 0) {
                    p.setIdKelompok(kel.getIdKelompok());
                    p.setPekan(pekanMhs1.getSelectedItem().toString());
                    p.setNilai(nilaiPekanMhs1.getText());

                    try {

                        cpk.insert(p);

                    } catch (SQLException ex) {
                        JOptionPane.showMessageDialog(mailContent, "Akses ditolak");
                    } finally {
                        try {
                            System.out.println("" + proy.getIdProyek());
                            recordPekanKlpk = cpk.getAll(nip, "" + proy.getIdProyek());


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