Rabu, 19 Juli 2017

Absensi Siswa


1.       PENJELASAN APLIKASI
Apliksi ini digunakan untuk pendataan kehadiran dan absensi siswa secara cepat dan mudah, sehingga pendataan kehadiran dan absensi siswa tidak perlu dilakukan secara manual lagi.

2.       KOMPONEN VARIABLE
·         Nama
·         NIM
·         Kelas
·         Jurusan
·         Kehadiran : (Hadir, Sakit, Izin, atau Tidak ada Keterangan)


3.       FLOWCHART


1.       SCREEN SHOOT DESAIN


1.       SOURCE KODE

    private void txtNIMActionPerformed(java.awt.event.ActionEvent evt) {                                      
        // TODO add your handling code here:
        int NIM=Integer.parseInt(txtNIM.getText());
        if (NIM==161011){
            txtNama.setText("Ani");
            txtKelas.setText("01TI01");
            txtJurusan.setText("Teknik Informatika");        
        }
        else if (NIM==161012){
            txtNama.setText("Anita");
            txtKelas.setText("01TI01");
            txtJurusan.setText("Teknik Informatika");
        }
        else if (NIM==161013){
            txtNama.setText("Beni");
            txtKelas.setText("01TI01");
            txtJurusan.setText("Teknik Informatika");
        }
    }                                     

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TugasUas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TugasUas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TugasUas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TugasUas.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new TugasUas().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify                    
    private javax.swing.JRadioButton btnAlpa;
    private javax.swing.JRadioButton btnHadir;
    private javax.swing.JRadioButton btnIzin;
    private javax.swing.JRadioButton btnSakit;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField txtJurusan;
    private javax.swing.JTextField txtKelas;
    private javax.swing.JTextField txtNIM;
    private javax.swing.JTextField txtNama;
    // End of variables declaration                  
}

1.       SCREEN SHOOT HASIL





Note : Mohon maaf jika program diatas belum selesai sepenuhnya, dan masih dalam tahap mengerjakan.

Tidak ada komentar:

Posting Komentar