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.
Summary: | beansbinding init code in separate method | ||
---|---|---|---|
Product: | guibuilder | Reporter: | tprochazka <tprochazka> |
Component: | Binding | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tprochazka
2007-05-03 08:56:00 UTC
This is useful especially when I have method setModel() and getModel() in Form. I create instance of form and then call setModel(), but form created with Netbeans Call bind() method at the end of initComponents() method. U must call bindingGroup.unbind() and bindingGroup.bind() in setModel() method. I know, that I can move initComponents() to setModel () from constructor. But this cause that form will be blank for long period (hibernate initialization, core initialization) I prefer open dialog as soon as possible with empty values with text “Initializing…” in status bar and bind all values after initialization. |