inventory = parser.parseString(editPane.getText());
inventory = parser.parseString(dataSource.getCurrentInventoryData());
    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("Parse")) {	    logger.info("Parsing");	    inventory = parser.parseString(editPane.getText());	    multiChart.setData(inventory);	}    }