TUGAS MODUL 4 PEMROGRAMAN VISUAL
SOURCE CODE
private void enimActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
private void enilaiActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
private void bprosesActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int a;
a=Integer.parseInt(enilai.getText());
if (a>60) {
eket.setText("LULUS");
}else{
eket.setText("MENGULANG");
}
}
private void bbatalActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
enim.setText("");
enama.setText("");
enilai.setText("");
eket.setText("");
enim.requestFocus();
}
private void bkeluarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
dispose();
}
// TODO add your handling code here:
}
private void enilaiActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
private void bprosesActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int a;
a=Integer.parseInt(enilai.getText());
if (a>60) {
eket.setText("LULUS");
}else{
eket.setText("MENGULANG");
}
}
private void bbatalActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
enim.setText("");
enama.setText("");
enilai.setText("");
eket.setText("");
enim.requestFocus();
}
private void bkeluarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
dispose();
}
SELAMAT MENCOBA :)



Comments
Post a Comment