}
    public void actionPerformed(ActionEvent e) {	if(e.getActionCommand().equals(InventoryMenuEvent.MENU_Exit)) {	    System.exit(0);	}	else if(e.getActionCommand().equals(InventoryMenuEvent.MENU_Connect)) {	    connectToServlet();	}	else if(e.getActionCommand().equals(InventoryMenuEvent.MENU_SaveXML)) {	    saveXML();	}	else if(e.getActionCommand().equals(InventoryMenuEvent.MENU_OpenXML)) {	    openXML();	}	else if(e.getActionCommand().equals(InventoryMenuEvent.MENU_Help)) {	    popupHelpPage();	}	else if(e.getActionCommand().equals("Parse")) {	    logger.info("Parsing");	    inventory = parser.parseString(dataSource.getCurrentInventoryData());	    multiChart.setData(inventory);	}	else if(e.getActionCommand().equals("Data")) {	    editPane.setText(dataSource.getCurrentInventoryData());	}    }