views:

37

answers:

0

Hello, I am creating a java bean that extends JPanel. I have created a new property called 'backgroundImage'. I would like it to have an 'Image chooser' popup like the JLabel 'icon' property.

a) My basic (possibly erroneous) understanding is that I need to define the Property Editor Class of 'backgroundImage' in the BeanInfo file. Is this correct?

b) Is the 'Image chooser' a common enough Property Editor that I can just reference it's class (whatever it might be)?

Thank-you