public void populateFields() { ICFSecurityClusterObj popObj; ICFSecurityClusterObj focus = getSwingFocusAsCluster(); if (focus != null) { popObj = (ICFSecurityClusterObj) (focus.getEdit()); if (popObj == null) { popObj = focus; } } else { popObj = null; } if (getPanelMode() == CFJPanel.PanelMode.Unknown) { popObj = null; } if (popObj == null) { getSwingEditorId().setInt64Value(null); } else { getSwingEditorId().setInt64Value(popObj.getRequiredId()); } if (popObj == null) { getSwingEditorFullDomainName().setStringValue(null); } else { getSwingEditorFullDomainName().setStringValue(popObj.getRequiredFullDomainName()); } if (popObj == null) { getSwingEditorDescription().setStringValue(null); } else { getSwingEditorDescription().setStringValue(popObj.getRequiredDescription()); } }