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{
							
							int LengthInput = Integer.parseInt(Length);
							
							//System.out.println (AdultInput+ChildInput);
						}
						catch (NumberFormatException badstring){
							System.out.println("Number error");
							DataSafe = false;
						}
						
						if (DataSafe == true){
							
							int LengthInput = Integer.parseInt(Length);
							
							Globals.ActiveMovie.Name = Name;
							Globals.ActiveMovie.Duration = LengthInput;
							
							// update ATA here.
							
							System.out.println("ActiveFlightObjID: " + Globals.ActiveFlightObjID);
							System.out.println("ActiveMovieObjID: " + Globals.ActiveMovieObjID);
							TravelGUI.ATAControl.EditMovieObject(Globals.ActiveMovie, Globals.ActiveFlightObjID, Globals.ActiveMovieObjID);
							
							CardLayout cl = (CardLayout)(Globals.cards.getLayout());
							cl.show(Globals.cards, Globals.LISTPANEL);
							
							Globals.listobjects = TravelGUI.ATAControl.RefreshList(Globals.listobjects);
							
							
							
						}
						// System.out.println(DataSafe);
						
					}