/** Actualiza la version */ private void updateVersion() { try { String hora = (String) inventarioClient.getHora(Const.ACTION_GET_HORA); String fechaVersion = (String) new SimpleDateFormat("yyyy-MM-dd").format(new Date()) + " " + hora; Version version = new Version(); version.setFecha(fechaVersion); version.setFeaturesActivas(true); AppContext.getApplicationContext().getBlackboard().put(AppContext.VERSION, version); com.geopista.protocol.inventario.Const.fechaVersion = fechaVersion; if (getInventarioFrame() != null) getInventarioFrame() .setFecha((String) new SimpleDateFormat("dd-MM-yyyy").format(new Date()) + " " + hora); } catch (Exception ex) { logger.error("Error al actualizar la version despues de la carga:", ex); } }