Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
11.1, 11.2
-
None
Description
We are using a custom GUI bean (SectionPanel) whose containerDelegate has been set in the SectionPanelBeanInfo not being the SectionPanel itself but an inner panel:
BeanDescriptor beanDescriptor = new BeanDescriptor(SectionPanel.class , null); beanDescriptor.setValue("containerDelegate", "getInnerPanel");
In NB 8.2 that was honored by Matisse allowing to use SectionPanel as a component container, but since NB 11.1+ that is not honored anymore... Matisse does not pick up the containerDelegate, not allowing to use the SectionPanel as a container anymore.
Attached an example that works with NB8.2: the Java code generated by Matisse calls getInnerPanel() method allowing to put a JSlider inside the SectionPanel in the MainFrame example, whereas in NB11.1 the Java code generated by Matisse does not call that method anymore.