package com.macfaq; import java.beans.*; public class FilledTextAreaBeanInfo extends SimpleBeanInfo { public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] pd = new PropertyDescriptor[7]; try { pd[0] = new PropertyDescriptor("text", FilledTextArea.class); pd[1] = new PropertyDescriptor("foreground", FilledTextArea.class); pd[2] = new PropertyDescriptor("background", FilledTextArea.class); pd[3] = new PropertyDescriptor("font", FilledTextArea.class); pd[4] = new PropertyDescriptor("editable", FilledTextArea.class); pd[5] = new PropertyDescriptor("rows", FilledTextArea.class); pd[6] = new PropertyDescriptor("columns", FilledTextArea.class); } catch (IntrospectionException e) { } return pd; } public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(FilledTextArea.class, FilledTextAreaCustomizer.class); } }