Tugas JAVA2
Tugas JAVA2
NPM : 08.1.03.02.0214
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frame_Siswa.java
*
* Created on Nov 1, 2005, 2:49:25 AM
*/
/**
*
* @author SMP Muh 1 Pare
*/
public class Frame_Siswa extends javax.swing.JFrame {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setText("NPM :");
jLabel2.setText("Nama :");
jLabel3.setText("Tanggal Lahir:");
jLabel6.setText("Agama :");
jLabel8.setText("RESUME :");
jLabel9.setText("NPM :");
jLabel10.setText("Nama :");
jLabel14.setText("Agama :");
jTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField1ActionPerformed(evt);
}
});
jTextField2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField2ActionPerformed(evt);
}
});
jTextField3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField3ActionPerformed(evt);
}
});
jTextField4.setText("dd/mm/yyyy");
jTextField4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField4ActionPerformed(evt);
}
});
jCheckBox1.setText("Kerohanian");
jCheckBox2.setText("Sepak Bola");
jCheckBox3.setText("Pramuka");
jCheckBox4.setText("IT");
jCheckBox5.setText("Badminton");
jCheckBox6.setText("PMI");
jButton1.setText("Proses");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jButton2.setText("Bersih");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
jButton3.setText("Keluar");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jRadioButton2.setText("Wanita");
jRadioButton1.setText("Pria");
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Agama",
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new
java.awt.Font("Tahoma", 0, 12))); // NOI18N
jRadioButton3.setText("Islam");
buttonGroup1.add(jRadioButton4);
jRadioButton4.setText("Nasrani");
buttonGroup1.add(jRadioButton8);
jRadioButton8.setText("Lain-lain");
buttonGroup1.add(jRadioButton7);
jRadioButton7.setText("Konghucu");
buttonGroup1.add(jRadioButton6);
jRadioButton6.setText("Budha");
buttonGroup1.add(jRadioButton5);
jRadioButton5.setText("Hindu");
pack();
}// </editor-fold>
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Frame_Siswa().setVisible(true);
}
});
}