/* * BeanExampleBeanInfo.java * * Created on October 22, 2003, 11:09 AM */ import java.beans.*; /** * * @author Tim Downey */ public class BeanExampleBeanInfo extends SimpleBeanInfo { public PropertyDescriptor[] getPropertyDescriptors() { try { return new PropertyDescriptor[] { new PropertyDescriptor("first", BeanExample.class), new PropertyDescriptor("team", BeanExample.class) }; } catch(IntrospectionException e) { System.out.println("Error: " + e); return null; } } }