@Override
	public void valueChanged(ListSelectionEvent e) {
		if (e.getSource() == orderList) {
			// check if order list is empty
			if (orderList.getSelectedIndex() > -1) {
				// separate the text in the selected list item
				String[] values = orderList.getSelectedValue().split("\\t");
				// JOptionPane.showMessageDialog(null, values[1]);

				showOrderDetails(driver.getOrderDB().getOrderById(
						Integer.parseInt(values[0].trim()),
						driver.getOrderDB().getSupplyOrderList()));
			}
		}

	}