Enumeration enum = properties.elements(); while(enum.hasMoreElements()) { Aproperties[i] = (PropertyDescriptor)enum.nextElement();
Enumeration e = properties.elements(); while (e.hasMoreElements()) { Aproperties[i] = (PropertyDescriptor) e.nextElement();
	public BeanInfo getBeanInfo() {		int defaultProperty = -1;		int defaultEvent = -1;		PropertyDescriptor[] Aproperties = new PropertyDescriptor[properties.size()];		int i = 0;		Enumeration enum = properties.elements();		while(enum.hasMoreElements()) {			Aproperties[i] = (PropertyDescriptor)enum.nextElement();			if(defaultPropertyName != null && Aproperties[i].getName().equals(defaultPropertyName)) {				defaultProperty = i;			}			i++;		}