@Override
	public void valueChanged(ListSelectionEvent event) {
		if (!event.getValueIsAdjusting()) {// to prevent duplicate selection same element in list click
			Planner.getFlight(((JList) event.getSource()).getSelectedIndex());
		}
	}