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 Length = jtxLength.getText();
						
			
						if (Name.equals("")){
							System.out.println("Name Error");
							DataSafe = false;
						}
					
			
						try{
							Integer.parseInt(Length);
							//Integer.parseInt(Child);
							
						}
						catch (NumberFormatException badstring){
							System.out.println("Number error");
							DataSafe = false;
						}
						
						if (DataSafe == true){
							int LenthInput = Integer.parseInt(Length);
							
							TravelGUI.ATAControl.CreateMovieObject(Name, LenthInput, Globals.ActiveFlightObjID);
							
							jtxName.setText("");
							jtxLength.setText("0");
							//jtxChild.setText("0");
							
							
							
							CardLayout cl = (CardLayout)(Globals.cards.getLayout());
							cl.show(Globals.cards, Globals.LISTPANEL);
						}
			
						System.out.println(DataSafe);
					}