public static DefaultListModel RefreshList (DefaultListModel listobjects){
			
			listobjects.removeAllElements();
			
			// Generate state of buttons.
			
			
			if (Globals.ListTypeControl == 0) { // CUSTOMER
				for (int i = 0 ;i < Globals.ATA.CustomerArray.length; i++){
					listobjects.addElement(
							"ID: " + Globals.ATA.CustomerArray[i].id + "   " +
							"Name: " + Globals.ATA.CustomerArray[i].CustomerCallName + "   " +
							"Adult Seats: " + Globals.ATA.CustomerArray[i].DefaultadultSeats + "   " +
							"Child Seats: " + Globals.ATA.CustomerArray[i].DefaultchildSeats + "   " +
							"");
				}
			}
			
			else if (Globals.ListTypeControl == 1) {
				for (int i = 0 ;i < Globals.ATA.EcoFlightArray.length; i++){
					String pattern = "dd/MM/yyyy";
					SimpleDateFormat Outputstyle = new SimpleDateFormat(pattern);
					listobjects.addElement(
							"Flight Number: " + Globals.ATA.EcoFlightArray[i].FlightNumber + "   " +
							"TravelDate: " + Outputstyle.format(Globals.ATA.EcoFlightArray[i].TravelDate)+ "   " +
							"Orig: " + Globals.ATA.EcoFlightArray[i].origin + "   " +
							"Dest: " + Globals.ATA.EcoFlightArray[i].destination + "   " + 
							"Depart Time: " + Globals.ATA.EcoFlightArray[i].ETD + "   " +
							"Arival Time: " + Globals.ATA.EcoFlightArray[i].ETA + "   " +
							"Base Price: $" + Globals.ATA.EcoFlightArray[i].basePrice + "   " +
							""
							);
				}
			}

			else if (Globals.ListTypeControl == 2) {
				for (int i = 0 ;i < Globals.ATA.BusFlightArray[Globals.ActiveFlightObjID].MovieArray.length; i++){
					listobjects.addElement(
							"Movie Name: " + Globals.ATA.BusFlightArray[Globals.ActiveFlightObjID].MovieArray[i].Name + "   " +
							"Movie Length: " + Globals.ATA.BusFlightArray[Globals.ActiveFlightObjID].MovieArray[i].Duration
							);
				}
			}
			
			else if (Globals.ListTypeControl == 3) {
				for (int i = 0 ;i < Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog.length; i++){
					listobjects.addElement(
							"Cost: $" + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].flightcost + "   " +
							"Type: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].FlightType + "   " +
							"Adult: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].adultSeats + "   " +
							"Child: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].childSeats + "   " +
							"From: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].FlightFrom + "   " +
							"Dest: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].FlightTo + "   " +
							"Date: " + Globals.ATA.CustomerArray[Globals.ActiveClientObjID].BookingsLog[i].DateBooked + "   "
							);
				}
			}
			
			return listobjects;
			
		}