public AllToAllPanel(AllToAll connector,NetworkPanel networkPanel){
  super();
  this.connection=connector;
  allowSelfConnectPanel=new JPanel(new FlowLayout(FlowLayout.LEFT));
  allowSelfConnectPanel.add(new JLabel(" Allow Self Connections: "));
  allowSelfConnectPanel.add(allowSelfConnectChkBx);
  fillFieldValues();
  add(allowSelfConnectPanel);
}

public AllToAllPanel ( AllToAll connector , NetworkPanel networkPanel ) { super ( ) ; this . connection = connector ; allowSelfConnectPanel = new JPanel ( new FlowLayout ( FlowLayout . LEFT ) ) ; allowSelfConnectPanel . add ( new JLabel ( " Allow Self Connections: " ) ) ; allowSelfConnectPanel . add ( allowSelfConnectChkBx ) ; fillFieldValues ( ) ; add ( allowSelfConnectPanel ) ; }
construct a new all to all panel .
