public static JPanel EditMovieObjectCard (){
				
				System.out.println("EditMovieObjectCard - flag");
				JPanel card = new JPanel();
				
				card.add( new JLabel("Movie Functions. 2011"));
				
				try{
					Globals.ActiveMovie = Globals.ATA.BusFlightArray[Globals.ActiveFlightObjID].MovieArray[Globals.ActiveMovieObjID];				
				}
				catch(ArrayIndexOutOfBoundsException e){
					Globals.ActiveMovie = new Movie();
				}
				
				JPanel part0 = new JPanel(); // Top details.
				JPanel partA = new JPanel(); // Movie Name.
				JPanel partB = new JPanel(); // Length,
				JPanel partZ = new JPanel(); // Submit buttons.
				
				
				part0.setPreferredSize(new Dimension(800,35)); // 25 is good for text boxes buttons needs at least 35.
				partA.setPreferredSize(new Dimension(800,35)); // 25 is good for text boxes buttons needs at least 35.
				partB.setPreferredSize(new Dimension(800,35));
				partZ.setPreferredSize(new Dimension(800,35));
						
				
				part0.add( new JLabel("Enter the revelent infomation for creating the Movie"));
				
				JLabel jlbName = new JLabel("Movie Name: (Required)");
				final JTextField jtxName = new JTextField(String.valueOf(Globals.ActiveMovie.Name),20);
				
				partA.add(jlbName);
				partA.add(jtxName);
				
				JLabel jlbLength = new JLabel("Length: (Must be a Number) ");
				final JTextField jtxLength = new JTextField(String.valueOf(Globals.ActiveMovie.Duration),20);
				
				partB.add(jlbLength);
				partB.add(jtxLength);
				
				
				
				JButton jbtU = new JButton("Update");
				JButton jbtA = new JButton("Apply");
				JButton jbtR = new JButton("Return");
				
				jbtU.addActionListener(new ActionListener(){
					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);
						
					}
				});
				
				jbtA.addActionListener(new ActionListener(){
					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);
						
							
							
						}
						// System.out.println(DataSafe);
						
					}
				});
				
				
				
				jbtR.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent e) {
						System.out.println("Flag Action Press - Return");
						
						CardLayout cl = (CardLayout)(Globals.cards.getLayout());
						cl.show(Globals.cards, Globals.LISTPANEL);
					}
				});
				
				partZ.add(jbtU);
				partZ.add(jbtA);
				partZ.add(jbtR);
				
				card.add(part0);
				card.add(partA);
				
				card.add(partB);
				
				
				card.add(partZ);
				
				
				
				return card;
				
			}