exam progra 1

Páginas: 4 (779 palabras) Publicado: 11 de junio de 2015

















private void btnNuevoActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:this._ActivaCampo(true);
this.txtNumeroCuenta.requestFocus();
//this.txtNumeroCuenta.requestFocus(); esta linea hace que manda al cursor en txtNumeroCuenta
//this._EstanVacidos();}
private void btnGuardarActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:JOptionPane.showMessageDialog(null, "Sus datos han sido guardado existosamente...");
//JOptionPane.showMessageDialog(null, "Sus datos han sido guardado existosamente...");
//Es para mostrar un mensaje}
private void btnSalirActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:System.exit(0);
// este metodo lo q hace es salir del programa
}

public void _ActivaCampo (boolean pvalor){
if (pvalor)
{this.txtNumeroCuenta.setEnabled(true);
this.txtNombreCliente.setEnabled(true);
this.txtApellidosCliente.setEnabled(true);
this.txtEstado.setEnabled(true);
this.txtTipo.setEnabled(true);this.txtSaldo.setEnabled(true);
this.txtNombreBanco.setEnabled(true);
}
else
{
this.txtNumeroCuenta.setEnabled(false);this.txtNombreCliente.setEnabled(false);
this.txtApellidosCliente.setEnabled(false);
this.txtEstado.setEnabled(false);
this.txtTipo.setEnabled(false);
this.txtSaldo.setEnabled(false);this.txtNombreBanco.setEnabled(false);
}

}

public boolean _EstanVacidos (){
if(this.txtNumeroCuenta.getText().isEmpty() || this.txtNombreCliente.getText().isEmpty() ||...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Con Progra 1
  • progran 1
  • SEMANA 1 PROGRA 1
  • ACT Progra 1
  • Exposici N 1 Progra
  • Tarea progra 1
  • Progra reporte 1 fisica 1
  • Examen 1

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS