public void actionPerformed(ActionEvent e) 
		{
			dispTA.setText("");
			orders.clear();
			activeOrderIDIndices.clear();
			rightBtn.setEnabled(true);
			leftBtn.setEnabled(true);
			
			try
			{
				if(!telephone.getText().equals("") && telephone.getText().matches("\\d{3}-\\d{3}-\\d{4}"))
				{
					PreparedStatement telephoneQuery = conn.prepareStatement("select idCustomer from customer_data, customer_data_has_phone, phone where customer_data.idCustomer = customer_data_has_phone.CUSTOMER_DATA_idCustomer && customer_data_has_phone.PHONE_idPhone = phone.idPhone && phone.phoneNum = ?");
					telephoneQuery.setString(1,telephone.getText());
					ResultSet custID = telephoneQuery.executeQuery();
					custID.next();
					int customerID = custID.getInt("idCustomer");
					
					PreparedStatement orderQueryByID = conn.prepareStatement("SELECT * FROM ORDER_DATA WHERE CUSTOMER_DATA_idCustomer = ? and DatePickedUp is null;");
					orderQueryByID.setInt(1, customerID);
					ResultSet orderIDrs = orderQueryByID.executeQuery();
					while(orderIDrs.next())
					{
						activeOrderID = orderIDrs.getInt("OrderNumber");
						
						StringBuilder sb = new StringBuilder();
						sb.append(getCustInfo(customerID));
						sb.append("\nOrder ID: ");
						sb.append(activeOrderID);
						sb.append("\n\nDate Dropped Off: ");
						sb.append(orderIDrs.getString("DateDroppedOff"));
						sb.append("\nDate Promised: ");
						sb.append(orderIDrs.getString("DatePromised"));
						sb.append("\nDate Picked Up: ");
						sb.append(orderIDrs.getString("DatePickedUp"));
						sb.append("\n\nPrice: ");
						sb.append(orderIDrs.getString("Price"));
						sb.append("\nTax: ");
						sb.append(orderIDrs.getString("Tax"));
						sb.append("\nTotal: ");
						sb.append(orderIDrs.getString("Total"));
						sb.append("\n\nPayment Method: ");
						sb.append(orderIDrs.getString("PaymentMethod"));
						orders.add(sb.toString());
						activeOrderIDIndices.add(activeOrderID);
					}
					if(orders.size()!=0)
					{
						dispTA.setText(orders.get(0));
						entriesIndex = 0;
					}
				} 
				else 
				{
					JOptionPane.showMessageDialog(null, "You must have a valid phone number!");
				}
			} 
			catch (SQLException e1)
			{
				JOptionPane.showMessageDialog(null, "Invalid arguments.");
				e1.printStackTrace();
				return;
			}
		}