question: protected void prepareForAddition ( Object bean , BeanInfo beanInfo , Point location ) { try { setBeanProperties ( bean , beanInfo , location ) ; createPropertySheet ( bean ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
target:  This method is called to prepare the bean for addition to the beanbox. In the base class implementation, this method calls the abstract setBeanProperties method. It then displays the property sheet for the bean, thereby giving the user a chance to edit the bean's properties before the bean is added to the beanbox.