public void actionPerformed(ActionEvent e) {
					
					
					System.out.println("Flag Action Press - Sumbit");
					// Checks to see if the data is legal.
					
					boolean DataSafe = true;
					String Name = jtxName.getText();
					String Adult = jtxAdult.getText();
					String Child = jtxChild.getText();
					String Cost = jtxCost.getText();
					String Flights = jtxFlight.getText();
		
					if (Name.equals("")){
						System.out.println("Name Error");
						DataSafe = false;
					}
				
		
					try{
						int AdultInput = Integer.parseInt(Adult);
						int ChildInput = Integer.parseInt(Child);
						double CostInput = Double.parseDouble(Cost);
						double FLightInput = Double.parseDouble(Flights);
						
						//System.out.println (AdultInput+ChildInput);
					}
					catch (NumberFormatException badstring){
						System.out.println("Number error");
						DataSafe = false;
					}
					
					if (DataSafe = true){
						
						int AdultInput = Integer.parseInt(Adult);
						int ChildInput = Integer.parseInt(Child);
						double CostInput = Double.parseDouble(Cost);
						int FLightInput = Integer.parseInt(Flights);
						
						Globals.ActiveCustomer.CustomerCallName = Name;
						Globals.ActiveCustomer.numFlights = FLightInput;
						Globals.ActiveCustomer.Cost = CostInput;
						Globals.ActiveCustomer.DefaultchildSeats = ChildInput;
						Globals.ActiveCustomer.DefaultadultSeats = AdultInput;
						
						// update ATA here.
						TravelGUI.ATAControl.EditCustomerObject(Globals.ActiveCustomer, Globals.ActiveClientObjID);
						
						
						
						
						
					}
					// System.out.println(DataSafe);
					
				}