private void showOrderDetails(Order order) {
		String status = "";
		if(order.isStatus())
			status = "Dispatched";
		else
			status = "Pending";
		String orderDetailsMessage = "ORDER DATE : " + order.getDateString()+ "\nORDER STATUS : " + status;
		orderDetailsMessage += "\nItems in this order: ";
		for (StockItem stockItem : order.getOrderEntryList()) {
			orderDetailsMessage += "\n     " + stockItem.getQuantity() + " \t x \t "
					+ stockItem.getProduct().getProductName() + " \t\t\t    Subtotal: \t\u20ac"
					+ (stockItem.getProduct().getRetailPrice() * stockItem.getQuantity());
		}

		orderDetailsMessage += "\n\nCUSTOMER ID: " + order.getPerson().getId()+ "\nPersonal Details: ";
		orderDetailsMessage += "\n     Name: \t" + order.getPerson().getName();
		orderDetailsMessage += "\n     Phone: \t" + order.getPerson().getContactNumber();
		orderDetailsMessage += "\n     Address: \t" + order.getPerson().getAddress();
		orderDetailsMessage += "\n\nThe total order value is \t\u20ac"
				+ order.getGrandTotalOfOrder() + "\n";

		Object[] options = { "OK", "Dispatch" };
		int n = JOptionPane.showOptionDialog(null, orderDetailsMessage, "ORDER ID: "
				+ (order.getId()) + "    STAFF ID: " + order.getCurrentlyLoggedInStaff().getId()
				, JOptionPane.YES_NO_OPTION,
				JOptionPane.PLAIN_MESSAGE, null, options, options[0]);
		if (n == 1) {
			order.setStatus(true);
			setOrderList();
		}

	}