public void addMenuPanelInit() {
		addMenuPanel = new JPanel();
		// generate panels formmated compononents
		JLabel menuInstructionLabel = generator.createLabel(addMenuPanel, "Please Choose an Item from each Menu Below", "");
		menuInstructionLabel.setFont(new Font("Dialog", 1, 20));
		
		JLabel mainMenuAppChoiceLabel = generator.createLabel(addMenuPanel, "Main Menu Appetizer Choice", "");
		//table for main menu appetizers 
		final JTable allMainApp = new JTable(allMainAppModel.getSpecificMealTable(false, "appetizer"));
		allMainApp.removeColumn(allMainApp.getColumn("ID Number"));
		allMainApp.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allMainApp.setFillsViewportHeight(true);
		allMainApp.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollMainApp = new JScrollPane(allMainApp);
		scrollMainApp.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollMainApp);
		
		JLabel mainMenuMainChoiceLabel = generator.createLabel(addMenuPanel, "Main Menu Main Choice", "");
		// table for main menu main meals
		final JTable allMainMain = new JTable(allMainMainModel.getSpecificMealTable(false, "main"));
		allMainMain.removeColumn(allMainMain.getColumn("ID Number"));
		allMainMain.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allMainMain.setFillsViewportHeight(true);
		allMainMain.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollMainMain = new JScrollPane(allMainMain);
		scrollMainMain.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollMainMain);
		
		JLabel mainMenuDessChoiceLabel = generator.createLabel(addMenuPanel, "Main Menu Dessert Choice", "");
		//table for main menu desserts
		final JTable allMainDess = new JTable(allMainDessModel.getSpecificMealTable(false, "dessert"));
		allMainDess.removeColumn(allMainDess.getColumn("ID Number"));
		allMainDess.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allMainDess.setFillsViewportHeight(true);
		allMainDess.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollMainDess = new JScrollPane(allMainDess);
		scrollMainDess.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollMainDess);
		
		JLabel vegMenuAppChoiceLabel = generator.createLabel(addMenuPanel, "Vegetarian Menu Appetizer Choice", "");
		// table for vegetarian appetizers
		final JTable allVegApp = new JTable(allVegAppModel.getSpecificMealTable(true, "appetizer"));
		allVegApp.removeColumn(allVegApp.getColumn("ID Number"));
		allVegApp.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allVegApp.setFillsViewportHeight(true);
		allVegApp.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollVegApp = new JScrollPane(allVegApp);
		scrollVegApp.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollVegApp);
		
		JLabel vegMenuMainChoiceLabel = generator.createLabel(addMenuPanel, "Vegetarian Menu Main Choice", "");
		// table for vegetarian main meals
		final JTable allVegMain = new JTable(allVegMainModel.getSpecificMealTable(true, "main"));
		allVegMain.removeColumn(allVegMain.getColumn("ID Number"));
		allVegMain.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allVegMain.setFillsViewportHeight(true);
		allVegMain.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollVegMain = new JScrollPane(allVegMain);
		scrollVegMain.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollVegMain);
		
		JLabel vegMenuDessChoiceLabel = generator.createLabel(addMenuPanel, "Vegetarian Menu Dessert Choice", "");
		// table for vegetarian desserts
		final JTable allVegDess = new JTable(allVegDessModel.getSpecificMealTable(true, "dessert"));
		allVegDess.removeColumn(allVegDess.getColumn("ID Number"));
		allVegDess.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allVegDess.setFillsViewportHeight(true);
		allVegDess.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scrollVegDess = new JScrollPane(allVegDess);
		scrollVegDess.setMaximumSize(new Dimension(200, 300));
		addMenuPanel.add(scrollVegDess);
		
		final JLabel resultLabel = generator.createLabel(addMenuPanel, " ", "");
		//creates buttons for panel
		final JButton continueButton = generator.createButton(addMenuPanel, "Continue", 10);	
		JButton backButton = generator.createButton(addMenuPanel, "Back", 5);
		
		addMenuPanel.setLayout(new BoxLayout(addMenuPanel, BoxLayout.Y_AXIS));
		//sets menu row selections 
		addMenuPanel.addComponentListener(new ComponentAdapter() {
			public void componentShown(ComponentEvent ce) {
				if (eventCreationComplete == true){
					continueButton.setText("Update");
					//sets the tables selected rows based off currentevents menus
					if(vegMenuPanelMenuId != 99999 && mainMenuPanelMenuId != 99999){
						MenuClass vegMenu = MenuControllerClass.getInstance().getMenu(vegMenuPanelMenuId);
						MenuClass mainMenu = MenuControllerClass.getInstance().getMenu(mainMenuPanelMenuId);
						int mainApp = allMainAppModel.getRowFromID(mainMenu.getAppetizerMealId());
						int mainMain = allMainMainModel.getRowFromID(mainMenu.getMainMealId());
						int mainDess = allMainDessModel.getRowFromID(mainMenu.getDessertMealId());
						int vegApp = allVegAppModel.getRowFromID(vegMenu.getAppetizerMealId());
						int vegMain = allVegMainModel.getRowFromID(vegMenu.getMainMealId());
						int vegDess = allVegDessModel.getRowFromID(vegMenu.getDessertMealId());
						allMainApp.setRowSelectionInterval(mainApp, mainApp);
						allMainMain.setRowSelectionInterval(mainMain, mainMain);
						allMainDess.setRowSelectionInterval(mainDess, mainDess);
						allVegApp.setRowSelectionInterval(vegApp, vegApp);
						allVegMain.setRowSelectionInterval(vegMain, vegMain);
						allVegDess.setRowSelectionInterval(vegDess, vegDess);
					}else{
						allMainApp.setRowSelectionInterval(0, 0);
						allMainMain.setRowSelectionInterval(0, 0);
						allMainDess.setRowSelectionInterval(0, 0);
						allVegApp.setRowSelectionInterval(0, 0);
						allVegMain.setRowSelectionInterval(0, 0);
						allVegDess.setRowSelectionInterval(0, 0);
					}
				}
			}
		});
		//backbutton that changes panels based on eventcreation
		backButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e){	
				if (eventCreationComplete == false) {	//returns to event add menu
					CardLayout cLayout = (CardLayout) cardHolder.getLayout();
					cLayout.show(cardHolder, addViewName);
				} else {			//returns to event modify menu
					continueButton.setText("Continue");
					CardLayout cLayout = (CardLayout) cardHolder.getLayout();
					cLayout.show(cardHolder, modifyViewName);	
				}				
			}
		});
		// when continue button is pressed, will generate new menus and add to current event
		continueButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e){	
				boolean result = true;
				int menuIDs[] = new int[6];
				
				try {	//grabs all selected meal ids and stores them into array
					menuIDs[0] = allMainAppModel.getIDFromRow(allMainApp.getSelectedRow());
					menuIDs[1] = allMainMainModel.getIDFromRow(allMainMain.getSelectedRow());
					menuIDs[2] = allMainDessModel.getIDFromRow(allMainDess.getSelectedRow());
					menuIDs[3] = allVegAppModel.getIDFromRow(allVegApp.getSelectedRow());
					menuIDs[4] = allVegMainModel.getIDFromRow(allVegMain.getSelectedRow());
					menuIDs[5] = allVegDessModel.getIDFromRow(allVegDess.getSelectedRow());
				} catch (ArrayIndexOutOfBoundsException e1){
					resultLabel.setText("Please choose an option from each menu listed");
					result = false;
				}
				
				if (result == true){
					//creates a new mainmenu
					MenuClass newMainMenu = new MenuClass(menuIDs[0], menuIDs[1], menuIDs[2]);
					//adds menu to database
					MenuControllerClass.getInstance().addMenu(newMainMenu, UIControllerClass.currentUser);
					//creates new vegetarian menu
					MenuClass newVegMenu = new MenuClass(menuIDs[3], menuIDs[4], menuIDs[5]);
					//adds to databse
					MenuControllerClass.getInstance().addMenu(newVegMenu, UIControllerClass.currentUser);
					//adds new menus to event
					currentEvent.setMainMenu(newMainMenu);
					currentEvent.setVegMenu(newVegMenu);
					currentEvent.setMainMenuId(newMainMenu.getMenuId());
					currentEvent.setVegMenuId(newVegMenu.getMenuId());
					
					if (eventCreationComplete == false) {	//if still in event creation process, go to confirming menu
						CardLayout cLayout = (CardLayout) cardHolder.getLayout();
						cLayout.show(cardHolder, addConfirmViewName);
					} else { // else go back to the update event menu
						result = EventControllerClass.getInstance().modifyEvent(currentEvent);
						if (result == true){
							eventMenuChanged = true;	//sets that the events menus were changed
						}
						continueButton.setText("Continue");	//rests continue button
						CardLayout cLayout = (CardLayout) cardHolder.getLayout();	
						cLayout.show(cardHolder, modifyViewName);
					}
				}
			}
		});		
	}