obj = e.nextElement(); if (obj instanceof TemplateEPICSMacro)
JMenu macros = new JMenu("MACRO"); int macroItems = 0;  Object obj; Enumeration e = subObjectsV.elements(); while (e.hasMoreElements())
	public Vector getItems()	{		ActionListener l = createPopupmenuHandler();		JMenu macros = new JMenu("MACRO");		int macroItems = 0;				Object obj;		Enumeration e = subObjectsV.elements();		while (e.hasMoreElements())		{			obj = e.nextElement();			if (obj instanceof TemplateEPICSMacro)			{				JMenuItem menuitem = new JMenuItem(((TemplateEPICSMacro)obj).getFieldData().getName());				menuitem.addActionListener(l);				macros = PopUpMenu.addItem(menuitem, macros, macroItems); 				macroItems++;			}		}				if (macros.getItemCount() > 0)		{			Vector items = new Vector();			items.addElement(macros);			return items;		}		else			return null;				}