public void fillFieldValues(){
  if (!isCreationDialog) {
    tfSynapseGroupLabel.setText(synapseGroup.getLabel());
  }
 else {
    tfSynapseGroupLabel.setText("Synapse group");
  }
}

public void fillFieldValues ( ) { if ( ! isCreationDialog ) { tfSynapseGroupLabel . setText ( synapseGroup . getLabel ( ) ) ; } else { tfSynapseGroupLabel . setText ( "Synapse group" ) ; } }
set the initial values of dialog components .
