private void inicializarActividad() { tf_codigo.setText(Integer.toString(actividad.getCodActividad())); tf_nombre.setText(actividad.getNombre()); }