private void tampilkanData(int row) { System.out.println("baris yg dipilih utk diUPDATE: " + row); persiapanEntriDataBaru(); kodeagama.setText(tabel.getValueAt(row, 0).toString()); namaagamaField.setText(tabel.getValueAt(row, 1).toString()); IDlogauditField.setText(tabel.getValueAt(row, 2).toString()); }
private void persiapanEntriDataBaru() { kodeagama.setText(""); namaagamaField.setText(""); IDlogauditField.setText(""); kodeagama.requestFocus(); }
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(); }
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(); }