private SynapseAdjustmentPanel(final NetworkPanel networkPanel,final List<Synapse> synapses){
  this.networkPanel=networkPanel;
  this.synapses=synapses;
  if (synapses.size() == 0) {
    return;
  }
  setLayout(new GridBagLayout());
  extractWeightValues(synapses);
  initializeLayout();
}

private SynapseAdjustmentPanel ( final NetworkPanel networkPanel , final List < Synapse > synapses ) { this . networkPanel = networkPanel ; this . synapses = synapses ; if ( synapses . size ( ) == 0 ) { return ; } setLayout ( new GridBagLayout ( ) ) ; extractWeightValues ( synapses ) ; initializeLayout ( ) ; }
create a synapse adjustment panel with a specified list of synapses .
