1 19 20 package org.netbeans.modules.form.beaninfo.awt; 21 22 import java.beans.*; 23 import java.awt.TextArea ; 24 25 29 public class TextAreaBeanInfo extends ComponentBeanInfo.Support { 30 31 public TextAreaBeanInfo() { 32 super("textarea", java.awt.TextArea .class); } 34 35 public BeanInfo[] getAdditionalBeanInfo() { 36 return new BeanInfo[] { new TextComponentBeanInfo(), new ComponentBeanInfo() }; 37 } 38 39 40 41 public PropertyDescriptor[] createPDs() throws IntrospectionException { 42 return new PropertyDescriptor[] { 43 new PropertyDescriptor("rows", TextArea .class), new PropertyDescriptor("columns", TextArea .class), }; 46 } 47 } 48 | Popular Tags |