((DefaultListModel)list_ress.getModel()).addElement(o[i]);
if(((Ressource)o[i]).getType().equals(type_ress.getSelectedItem())){ ((DefaultListModel)list_ress.getModel()).addElement(o[i]); }
    private JButton noselect(){    	JButton noselect=new JButton("<");    	noselect.addActionListener(new ActionListener(){			public void actionPerformed(ActionEvent e) {				Object[] o=select_ress.getSelectedValues();				for (int i=0;i<o.length;++i){					Collection coll=(Collection) ress_found.get(((Ressource)o[i]).getType());					((DefaultListModel)select_ress.getModel()).removeElement(o[i]);					coll.add(o[i]);					((DefaultListModel)list_ress.getModel()).addElement(o[i]);					frame.validate();					frame.repaint();				}							}    		});    	if(isSee()){    		noselect.setEnabled(false);    	}    	return noselect;    }