if(e.getID() == InventorySelectionEvent.ORG_SELECT) { Vector assetNames = dataSource.getAssetNames(e.getOrg(), e.getSupplyType()); selector.setAssetNames(assetNames); } else if(e.getID() == InventorySelectionEvent.INVENTORY_SELECT) { String invXML = dataSource.getInventoryData(e.getOrg(), e.getAssetName()); editPane.setText(invXML); inventory = parser.parseString(invXML); multiChart.setData(inventory); }
if (e.getID() == InventorySelectionEvent.ORG_SELECT) { Vector assetNames = dataSource.getAssetNames(e.getOrg(), e.getSupplyType()); selector.setAssetNames(assetNames); } else if (e.getID() == InventorySelectionEvent.INVENTORY_SELECT) { String invXML = dataSource.getInventoryData(e.getOrg(), e.getAssetName()); editPane.setText(invXML); inventory = parser.parseString(invXML); multiChart.setData(inventory);
    public void selectionChanged(InventorySelectionEvent e) {	if(e.getID() == InventorySelectionEvent.ORG_SELECT) {	    Vector assetNames = dataSource.getAssetNames(e.getOrg(),							 e.getSupplyType());	    selector.setAssetNames(assetNames);	}	else if(e.getID() == InventorySelectionEvent.INVENTORY_SELECT) {	    String invXML = dataSource.getInventoryData(e.getOrg(),						 e.getAssetName());	    editPane.setText(invXML);	    inventory = parser.parseString(invXML);	    multiChart.setData(inventory);	    	}    }