BicepBuddyApp/src/main/java/bicepBuddyPackage/Master.java
public void loggedOutMenuLoad() {
		menuBar = new JMenuBar();
		this.frame.setJMenuBar(null);
		this.frame.setJMenuBar(menuBar);

		JMenu login = new JMenu("Login");
		login.setFont(new Font("Segoe UI", Font.PLAIN, 12));
		login.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent arg0) {
				System.out.println("Loading Login");
				updateFrame(new Login());
			}
		});
		menuBar.add(login);

		JMenu signUp = new JMenu("Sign Up");
		signUp.setFont(new Font("Segoe UI", Font.PLAIN, 12));
		signUp.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent e) {
				System.out.println("Loading signUp");
				updateFrame(new Signup());
			}
		});
		menuBar.add(signUp);


		updateFrame(new Login());
	}
/**
	 * Logged out menu load. Gets rid of the travel bay so the user can't access
	 * the UI when logged out.
	 */
Logged out menu load. Gets rid of the travel bay so the user can't access
the UI when logged out.
Logged out menu load . Gets rid of the travel bay so the user can ' t access the UI when logged out .
public void loggedOutMenuLoad() {
		menuBar = new JMenuBar();
		this.frame.setJMenuBar(null);
		this.frame.setJMenuBar(menuBar);
		JMenu login = new JMenu("Login");
		login.setFont(new Font("Segoe UI", Font.PLAIN, 12));
		login.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent arg0) {
				System.out.println("Loading Login");
				updateFrame(new Login());
			}
		});
		menuBar.add(login);
		JMenu signUp = new JMenu("Sign Up");
		signUp.setFont(new Font("Segoe UI", Font.PLAIN, 12));
		signUp.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent e) {
				System.out.println("Loading signUp");
				updateFrame(new Signup());
			}
		});
		menuBar.add(signUp);
		updateFrame(new Login());
	}
public void loggedOutMenuLoad ( ) { menuBar = new JMenuBar ( ) ; this . frame . setJMenuBar ( null ) ; this . frame . setJMenuBar ( menuBar ) ; JMenu login = new JMenu ( "Login" ) ; login . setFont ( new Font ( "Segoe UI" , Font . PLAIN , 12 ) ) ; login . addMouseListener ( new MouseAdapter ( ) { @ Override public void mouseClicked ( MouseEvent arg0 ) { System . out . println ( "Loading Login" ) ; updateFrame ( new Login ( ) ) ; } } ) ; menuBar . add ( login ) ; JMenu signUp = new JMenu ( "Sign Up" ) ; signUp . setFont ( new Font ( "Segoe UI" , Font . PLAIN , 12 ) ) ; signUp . addMouseListener ( new MouseAdapter ( ) { @ Override public void mouseClicked ( MouseEvent e ) { System . out . println ( "Loading signUp" ) ; updateFrame ( new Signup ( ) ) ; } } ) ; menuBar . add ( signUp ) ; updateFrame ( new Login ( ) ) ; }
Logged out menu load.
Logged out menu load .