private static int[] getCrewsIndices() {
		Set s = (Set<Crew>) map.get(flightList.getSelectedValue().toString());
		int[] selectedIndices = new int[s.size()];

		for(int i = 0; i<s.size(); i++){
			for(int j=0; j<data.fetchCrewsList().length; j++){
				if(data.fetchCrewsList()[j].toString().equals((s.toArray()[i]).toString())){
					selectedIndices[i] = j;
				}
			}			
		}		
		return selectedIndices;
	}