// Metodo para guardar la informacion //
  public void guardarDatos() throws Exception {
    try {
      // log.info("ejecutando metodo guardarDatos()");
      if (validarForm()) {
        FormularioUtil.setUpperCase(groupboxEditar);
        // Cargamos los componentes //

        Maestro_manual maestro_manual = new Maestro_manual();
        maestro_manual.setId_manual(
            (lgxId_manual.getValue() != null ? lgxId_manual.getValue() : 0L));
        maestro_manual.setCodigo_empresa(codigo_empresa);
        maestro_manual.setCodigo_sucursal(codigo_sucursal);
        maestro_manual.setManual(tbxManual.getValue());
        maestro_manual.setTipo_manual(lbxTipo_manual.getSelectedItem().getValue().toString());
        maestro_manual.setTipo_moneda(lbxTipo_moneda.getSelectedItem().getValue().toString());
        maestro_manual.setCreacion_date(new Timestamp(new GregorianCalendar().getTimeInMillis()));
        maestro_manual.setCreacion_user(usuarios.getCodigo().toString());
        Map<String, Object> mapa_datos = new HashMap<String, Object>();
        mapa_datos.put("maestro_manual", maestro_manual);
        mapa_datos.put("accion", tbxAccion.getValue());
        mapa_datos.put("mapa_datos_procedimientos", mapa_datos_procedimientos);
        maestro_manualService.guardarDatos(mapa_datos);
        tbxAccion.setValue("modificar");
        mostrarDatos(maestro_manual);
        MensajesUtil.mensajeInformacion(
            "Informacion ..", "Los datos se guardaron satisfactoriamente");
      }

    } catch (Exception e) {
      MensajesUtil.mensajeError(e, "", this);
    }
  }