private void fillFieldValues(){
  if (entityRef != null) {
    tfEntityName.setText(entityRef.getName());
  }
}

private void fillFieldValues ( ) { if ( entityRef != null ) { tfEntityName . setText ( entityRef . getName ( ) ) ; } }
fills the values within the fields of the dialog .
