Custom container beans with editable children? [message #607056] |
Fri, 08 April 2005 10:13 |
Carsten Lergenmüller Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi all,
we are planning a new application. The idea we have is to provide the
dialog developers with a set of custom beans which serve as building
blocks to construct the dialogs with. Some of the custom beans are
containers (derived from JPanel) which already contain some child
components (Labels, TestFields, etc.). The developer then can choose a
container with "Choose Bean", then he gets it with the most important
children already in it, and then he can add other children he might need.
This all works OK, but the problem I have is that VE does not allow me
to edit the child components which were added by the custom container
bean (in it's initialize method). The custom container bean is
recognized to be a container and can have new children added and the
children created by the container bean are rendered OK, but they can't
be selected.
I fiddled around with some things (added public getters for the children
in the custom container bean, created an initialize method for it,
created a BeanInfo for it, created it new with VE's "Create new JPanel
visual class"), still I can't get VE to recognize that there are Beans
in the container which have properties that could be set.
Is there (or will there be) a way to do this ?
Thanks in advance,
Carsten
|
|
|
Powered by
FUDForum. Page generated in 0.02648 seconds