public void populateFields() {
    ICFSecuritySecSessionObj popObj;
    ICFSecuritySecSessionObj focus = getSwingFocusAsSecSession();
    if (focus != null) {
      popObj = (ICFSecuritySecSessionObj) (focus.getEdit());
      if (popObj == null) {
        popObj = focus;
      }
    } else {
      popObj = null;
    }
    if (getPanelMode() == CFJPanel.PanelMode.Unknown) {
      popObj = null;
    }
    if (popObj == null) {
      swingContainerSecUserObj = null;
    } else {
      swingContainerSecUserObj =
          (ICFDbTestSecUserObj) popObj.getRequiredContainerSecUser(swingIsInitializing);
    }
    if (swingReferenceContainerSecUser != null) {
      swingReferenceContainerSecUser.setReferencedObject(swingContainerSecUserObj);
    }

    if (popObj == null) {
      swingParentSecProxyObj = null;
    } else {
      swingParentSecProxyObj =
          (ICFDbTestSecUserObj) popObj.getRequiredParentSecProxy(swingIsInitializing);
    }
    if (swingReferenceParentSecProxy != null) {
      swingReferenceParentSecProxy.setReferencedObject(swingParentSecProxyObj);
    }

    if (popObj == null) {
      getSwingEditorSecSessionId().setUuidValue(null);
    } else {
      getSwingEditorSecSessionId().setUuidValue(popObj.getRequiredSecSessionId());
    }

    if (popObj == null) {
      getSwingEditorSecDevName().setStringValue(null);
    } else {
      getSwingEditorSecDevName().setStringValue(popObj.getOptionalSecDevName());
    }

    if (popObj == null) {
      getSwingEditorStart().setTimestampValue(null);
    } else {
      getSwingEditorStart().setTimestampValue(popObj.getRequiredStart());
    }

    if (popObj == null) {
      getSwingEditorFinish().setTimestampValue(null);
    } else {
      getSwingEditorFinish().setTimestampValue(popObj.getOptionalFinish());
    }
  }