예제 #1
0
 // Metodo que bloquea los campos de texto
 public void bloquearCamposCategoria() {
   txtCateNombre.setEnabled(false);
   txtDesCate.setEnabled(false);
   radioActivo.setEnabled(false);
   RadioInactivo.setEnabled(false);
   btnAceptarCategoria.setEnabled(false);
   btnCancelarCategoria.setEnabled(false);
 }
예제 #2
0
 // Metodo que habilita los campos de texto
 public void habilitarCamposCategoria() {
   txtCateNombre.setEnabled(true);
   txtDesCate.setEnabled(true);
   radioActivo.setEnabled(true);
   RadioInactivo.setEnabled(true);
   btnAceptarCategoria.setEnabled(true);
   btnCancelarCategoria.setEnabled(true);
   limpiarCamposCategoria();
 }