return retval; }
JMenu connection = new JMenu("Connection"); JMenuItem connect = new JMenuItem(InventoryMenuEvent.MENU_Connect); connect.addActionListener(this); connection.add(connect); retval.add(connection);  JMenu helpMenu = new JMenu("Help"); JMenuItem helpItem = new JMenuItem(InventoryMenuEvent.MENU_Help); helpItem.addActionListener(this); helpMenu.add(helpItem);    return retval; }
    protected JMenuBar makeMenus() {	JMenuBar retval = new JMenuBar();		JMenu file = new JMenu("File");	JMenuItem quit = new JMenuItem(InventoryMenuEvent.MENU_Exit);	JMenuItem save = new JMenuItem(InventoryMenuEvent.MENU_SaveXML);	JMenuItem open = new JMenuItem(InventoryMenuEvent.MENU_OpenXML);	quit.addActionListener(this);	save.addActionListener(this);	open.addActionListener(this);	file.add(quit);	file.add(open);	file.add(save);	retval.add(file);    	JMenu connection = new JMenu("Connection");	JMenuItem connect = new JMenuItem(InventoryMenuEvent.MENU_Connect);	connect.addActionListener(this);	connection.add(connect);	retval.add(connection);	JMenu helpMenu = new JMenu("Help");	JMenuItem helpItem = new JMenuItem(InventoryMenuEvent.MENU_Help);	helpItem.addActionListener(this);	helpMenu.add(helpItem);	//Help popup is not done yet.	//retval.add(helpMenu);	return retval;    }