This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It would be nice if a could easily create a form composed of subclasses of JPanels, say MyPanelA, MyPanelB, MyPanelC. If the user wants to edit MyPanel? he would be taken to the definition of MyPanel? The FAQs are not very clear (to me) on this issue. TIA
Hm, I don't understand what you mean. Anyway, I've created a new FAQ item "Creating forms by extending another forms" to make things clearer. Could you look at it and then tell me what specifically is wrong or missing? Thx
Sorry for the poor explanation. I would be happy to look at the new faq entry, but I can't find it at http://www.netbeans.org/ide/support/faqs/gui_editing.html.
I guess it takes some time (1 day?) till the new FAQ appears on netbeans.org (it is primarily edited for Forte). Now it is already there: http://www.netbeans.org/ide/support/faqs/gui_editing.html#F AQ_17
Found the FAQ and it is helpful. I have succeeded in extending a JPanel and using that in a form. This allows encapsulating some functionality of the form, instead of the form containing all the controls. OTOH you do have to create events+listeners+handlers. Oops found a bug: after closing/reopening NB the derived form is no longer visible in the form editor, but it is still there (visible in the form component hierarchy)!
As for the bug: I cannot see anything like this. Can you be more specific? Could you try the forms I'm attaching?
Created attachment 6435 [details] example of extending forms
Set target milestone to TBD
Probably the original request was to have "forms in forms" - to be able to quickly get to (edit) a form designed separately, then put to another form.
*** Issue 33894 has been marked as a duplicate of this issue. ***