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();
		
					if (Name.equals("")){
						System.out.println("Name Error");
						DataSafe = false;
					}
				
		
					try{
						Integer.parseInt(Adult);
						Integer.parseInt(Child);
						
					}
					catch (NumberFormatException badstring){
						System.out.println("Number error");
						DataSafe = false;
					}
					
					if (DataSafe == true){
						int AdultInput = Integer.parseInt(Adult);
						int ChildInput = Integer.parseInt(Child);
						TravelGUI.ATAControl.CreateCustomerObject(Name, AdultInput, ChildInput);
						
						jtxName.setText("");
						jtxAdult.setText("0");
						jtxChild.setText("0");
						
						
						ATAControl.RefreshList(Globals.listobjects);
						
						CardLayout cl = (CardLayout)(Globals.cards.getLayout());
						cl.show(Globals.cards, Globals.LISTPANEL);
					}
		
					System.out.println(DataSafe);
				}