formationJcb = new JComboBox();
/*formationJcb = new JComboBox();
	private void initGenerateGroupsWindow() {						formationLabel = new JLabel("Formation correspondante :");		addComponent(GGWLayout,layoutConstraints,formationLabel,3,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(formationLabel);				formationJcb = new JComboBox();		addComponent(GGWLayout,layoutConstraints,formationJcb,GridBagConstraints.REMAINDER,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(formationJcb);								nbGroupsLabel = new JLabel("Nombre de groupes :");		addComponent(GGWLayout,layoutConstraints,nbGroupsLabel,2,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(nbGroupsLabel);				nbGroupsJcb = new JComboBox();		initNumberJcb(nbGroupsJcb, 1, 10);		nbGroupsJcb.addItemListener(new ItemListener() {						public void itemStateChanged(ItemEvent e) {								int nbGroupsChoose = ((JComboBox)e.getSource()).getSelectedIndex()+1;				int nbGroupsVisible = nameGroupLabelPanel.getComponentCount()/2;								if (nbGroupsChoose > nbGroupsVisible) {										int nbSup = nbGroupsChoose-nbGroupsVisible;										for(int i=nbSup-1;i>=0;i--) {						nameGroupLabelPanel.add(new JLabel("Nom du groupe "+(nbGroupsChoose-i)+" :"));						nameGroupLabelPanel.add(Box.createVerticalStrut(9));												nameGroupJtfPanel.add(new JTextField());						nameGroupJtfPanel.add(Box.createVerticalStrut(5));											}					GGWFrame.pack();				}								if (nbGroupsChoose < nbGroupsVisible) {										int nbInf = nbGroupsVisible - nbGroupsChoose;					int position = nbGroupsVisible*2;										for(int i=1;i<=nbInf;i++) {												nameGroupLabelPanel.remove(position-i);						nameGroupLabelPanel.remove(position-(i+1));												nameGroupJtfPanel.remove(position-i);						nameGroupJtfPanel.remove(position-(i+1));												position-=1;					}										GGWFrame.pack();				}							}		});						addComponent(GGWLayout,layoutConstraints,nbGroupsJcb,GridBagConstraints.REMAINDER,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(nbGroupsJcb);								nameGroup1Label = new JLabel("Nom du groupe 1 :");				nameGroupLabelPanel.setLayout(new BoxLayout(nameGroupLabelPanel, BoxLayout.Y_AXIS));		nameGroupLabelPanel.add(nameGroup1Label);		nameGroupLabelPanel.add(Box.createVerticalStrut(9));				addComponent(GGWLayout,layoutConstraints,nameGroupLabelPanel,2,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(20,10,20,10));		GGWFrame.getContentPane().add(nameGroupLabelPanel);				nameGroup1Jtf = new JTextField();				nameGroupJtfPanel.setLayout(new BoxLayout(nameGroupJtfPanel, BoxLayout.Y_AXIS));		nameGroupJtfPanel.add(nameGroup1Jtf);		nameGroupJtfPanel.add(Box.createVerticalStrut(5));				addComponent(GGWLayout,layoutConstraints,nameGroupJtfPanel,GridBagConstraints.REMAINDER,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(20,10,20,10));		GGWFrame.getContentPane().add(nameGroupJtfPanel);								ok = new JButton("OK");		addComponent(GGWLayout,layoutConstraints,ok,GridBagConstraints.RELATIVE,1,0.0,0.0,GridBagConstraints.EAST,GridBagConstraints.NONE,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(ok);				annuler = new JButton("Annuler");		annuler.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent arg0) {            	GGWFrame.dispose();            }		});		addComponent(GGWLayout,layoutConstraints,annuler,GridBagConstraints.REMAINDER,1,0.0,0.0,GridBagConstraints.EAST,GridBagConstraints.NONE,new Insets(20,10,10,10));		GGWFrame.getContentPane().add(annuler);			}