예제 #1
0
 public MasterPustaka(HomePage _homePage, String _namaTabel) {
   this();
   this.homePage = _homePage;
   this.namaTabel = _namaTabel;
   model = new ModelMasterPustaka();
   IDlogauditLabel.setVisible(false);
   IDlogauditField.setVisible(false);
   kodept = homePage.dapatkanKodePT();
   inisialisasiData();
   initAutoComplete();
   buttonBaru.setEnabled(false);
   buttonInsert.setEnabled(false);
   buttonDelete.setEnabled(false);
   buttonUpdate.setEnabled(false);
 }
예제 #2
0
  private void persiapanEntriDataBaru() {
    initPKAutoIncrement();
    //        kodebobotnilaiField.setText("" + kodebobotnilai);
    kodeperguruantinggiField.setText("" + homePage.dapatkanKodePT());
    kodeprogramstudi.setText("");
    kodejenjangstudi.setText("");
    tahunpelaporanField.setText("");
    semesterpelaporanField.setText("");
    bobotnilaiminField.setText("");
    bobotnilaimaxField.setText("");
    nilaiField.setText("");
    tglmulaiefektifField.setDate(null);
    tglakhirefektifField.setDate(null);
    IDlogauditField.setText("");

    kodebobotnilaiField.requestFocus();
  }
예제 #3
0
  private void persiapanEntriDataBaru() {
    kodepustakaptField.setText("");
    tahunpelaporanField.setText("");
    semesterpelapporanField.setText("");
    kodeperguruantinggiField.setText("" + homePage.dapatkanKodePT());
    kodeprogramstudi.setText("");
    kodejenjangpendidikan.setText("");
    jmljudulpustakaField.setText("");
    jmljudulpustakadigunakanField.setText("");
    jenispustakaField.setText("");
    namapustakaField.setText("");
    tahunterbitpustakaField.setText("");
    fungsipustakaField.setText("");
    IDlogauditField.setText("");

    kodepustakaptField.requestFocus();
  }
예제 #4
0
 public BobotNilai(HomePage _homePage, String _namaTabel) {
   this();
   this.homePage = _homePage;
   this.namaTabel = _namaTabel;
   model = new ModelBobotNilai();
   IDlogauditLabel.setVisible(false);
   IDlogauditField.setVisible(false);
   KodePT = homePage.dapatkanKodePT();
   inisialisasiData();
   initAutoComplete();
   // disable all button
   buttonBaru.setEnabled(false);
   buttonInsert.setEnabled(false);
   buttonUpdate.setEnabled(false);
   buttonDelete.setEnabled(false);
   kodebobotnilaiField.setVisible(false);
   kodebobotnilaiLabel.setVisible(false);
   IDlogauditLabel.setVisible(false);
   IDlogauditField.setVisible(false);
 }