newFilters[i] = new FilterMatcher(key, values[list.getSelectedIndices()[i]]);
newFilters[i] = new FilterMatcher(key, values[list.getSelectedIndices()[i]], filterModeComboBox.getSelectedIndex());
			public void actionPerformed(ActionEvent evt)			{				Sortables key = (Sortables) comboBox.getSelectedItem();				String[] values = key.getAllSorted();//				for (int i : list.getSelectedIndices())//				{//					FilterMatcher fm=new FilterMatcher(key,values[i]);//					if (!ProjectSettings.getInstance().getAllMatchers().contains(fm))//						ProjectSettings.getInstance().addFilter(fm);//				}				FilterMatcher[] newFilters = new FilterMatcher[list.getSelectedIndices().length];				for (int i = 0; i < newFilters.length; i++)					newFilters[i] = new FilterMatcher(key, values[list.getSelectedIndices()[i]]);				ProjectSettings.getInstance().addFilters(newFilters);				PreferencesFrame.getInstance().updateFilterPanel();				MainFrame.getInstance().setProjectChanged(newFilters.length > 0);				close();			}