list.add(materials[index]);
if (index > 0) list.add(materials[index]);
	public Collection getCourseEquipment() {		ArrayList list = new ArrayList();				if (materialsName != null) {			Component[] components = courseEquipmentPanel.getComponents();						for (int i = 0; i < components.length; ++i)			    if (components[i] instanceof JComboBox) {			        int index = ((JComboBox)components[i]).getSelectedIndex();			        list.add(materials[index]);			    }		}				return list;	}