public int getIndex(ArrayList<Person> list) {
		String[] values = null;
		if (comboBox.getSelectedItem() != null) {
			values = ((String) comboBox.getSelectedItem()).split("\\t");
			int index = 0;
			for (Person person : list) {
				if (person.getId() == Integer.parseInt(values[1].trim()))
					break;
				index++;
			}
			return index;
		}
		return -1;
	}