You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "matteodg (Jira)" <ji...@apache.org> on 2020/01/22 21:56:00 UTC

[jira] [Resolved] (NETBEANS-3725) Not honoring containerDelegate in BeanInfo

     [ https://issues.apache.org/jira/browse/NETBEANS-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

matteodg resolved NETBEANS-3725.
--------------------------------
      Assignee: matteodg
    Resolution: Invalid

See last comment: I recreated the SectionPanelBeanInfo with new JDK I used in NB11.1+, and that fixed the problem.

> Not honoring containerDelegate in BeanInfo
> ------------------------------------------
>
>                 Key: NETBEANS-3725
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3725
>             Project: NetBeans
>          Issue Type: Bug
>          Components: guibuilder - Code
>    Affects Versions: 11.1, 11.2
>            Reporter: matteodg
>            Assignee: matteodg
>            Priority: Major
>             Fix For: 11.3
>
>         Attachments: ContainerDelegateExample.zip
>
>
> 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:
> {code:java}
> BeanDescriptor beanDescriptor = new BeanDescriptor(SectionPanel.class , null);
> beanDescriptor.setValue("containerDelegate", "getInnerPanel");{code}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists