switch(type) {
switch(elementType) {
	private void initAddModifyUserWindow() {			switch(type) {			case ElementDao.TYPE_MATERIAL: initEquipmentParts(); break;			case ElementDao.TYPE_ROOM: initLocalParts();break;		}				JLabel descriptionEquipmentLabel = new JLabel("Description");		addComponent(AMEWLayout,layoutConstraints,descriptionEquipmentLabel,GridBagConstraints.REMAINDER,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(20,10,10,10));		AMEWFrame.getContentPane().add(descriptionEquipmentLabel);				descriptionEquipmentJta = new JTextArea();		descriptionEquipmentJta.setLineWrap(true);		descriptionEquipmentJta.setRows(4);    	JScrollPane pane= new JScrollPane(descriptionEquipmentJta);    	addComponent(AMEWLayout,layoutConstraints,pane,GridBagConstraints.REMAINDER,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(5,10,20,10));    	AMEWFrame.getContentPane().add(pane);						JButton ok = new JButton("OK");		ok.addActionListener(new ActionOk());		addComponent(AMEWLayout,layoutConstraints,ok,GridBagConstraints.RELATIVE,1,0.0,0.0,GridBagConstraints.EAST,GridBagConstraints.NONE,new Insets(20,10,10,10));		AMEWFrame.getContentPane().add(ok);				JButton annuler = new JButton("Annuler");		annuler.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent arg0) {                AMEWFrame.dispose();            }		});		addComponent(AMEWLayout,layoutConstraints,annuler,GridBagConstraints.REMAINDER,1,0.0,0.0,GridBagConstraints.EAST,GridBagConstraints.NONE,new Insets(20,10,10,10));		AMEWFrame.getContentPane().add(annuler);	}