for(Enumeration enum = assetList.keys(); enum.hasMoreElements();)
for(Enumeration en = assetList.keys(); en.hasMoreElements();)
    public void actionPerformed(ActionEvent e)    {      //System.out.println("fillassetlist ");      listFilled = false;      boolean foundMatch = false;      clusterName = (String)clusterNameBox.getSelectedItem();      if(currentAsset != null && clusterName != null)      {      	//  find the asset which matches int he selected cluster or if none matches      	//  bring up the first asset (if one exists)      	//  then perform doquery with this cluster and asset      	      	//clusterName = (String)clusterNameBox.getSelectedItem();      	//System.out.println("clustername at fill " + clusterName);      	Vector myAssetNames = new Vector();      	updateInventoryBox();      	if(fileBased)      	{      		Hashtable assetList = (Hashtable) clusterData.get(clusterName);                              for(Enumeration enum = assetList.keys(); enum.hasMoreElements();)          {          	myAssetNames.add((String)enum.nextElement());          }        }      	else      	  myAssetNames = assetNames;      	      	      	//System.out.println("assetnames size is " + myAssetNames.size());      	if(myAssetNames != null && myAssetNames.size() > 0)      	{	      	for(int i = 0; i < myAssetNames.size(); i++)	      	{	      		String matchAsset = (String) myAssetNames.elementAt(i);	      		//System.out.println("next asset " + matchAsset + " " + currentAsset + " " + i);	      		if(matchAsset.equals(currentAsset))	      		{	      			//  do performQuery with current asset	      			//  set currentAsset as selected item	      			assetNameBox.setSelectedItem(currentAsset);				queryListener.performQueryUpdateChart(false);	      			foundMatch = true;	      			break;	      		}	      			      	}	      	if(!foundMatch)		  		{		  			//  do performQuery with 1st asset		  			//  but don't reset currentAsset		  			//  set 1st item as selected item		  			//System.out.println("setting to first item");		  			assetNameBox.removeActionListener(queryListener);		  			assetNameBox.setSelectedItem(myAssetNames.elementAt(0));		  			assetNameBox.addActionListener(queryListener);		  			queryListener.performQueryUpdateChart(false);		   		}	      }	      else	      {	      	//  nothing to display	      	//System.out.println("removing all");	      	if (frame instanceof JFrame)          {            ((JFrame)frame).setTitle("");          }          else if (frame instanceof JInternalFrame)          {            ((JInternalFrame)frame).setTitle("");          }	      	chart.detachAllDataSets();          legend.removeAllDataSets();          chart.repaint();	      }      }