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.

Bug 90535 - Separating Component, Data and Listener Initialization
Summary: Separating Component, Data and Listener Initialization
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2006-12-04 19:19 UTC by mnachev
Modified: 2006-12-04 19:19 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mnachev 2006-12-04 19:19:57 UTC
Having in mind my experience and existing products I would like to offer the
"initComponent()" initialization to be separated as follow:
1. initComponents()
2. initData()
3. initListeners()

This separation is very useful and helpful because the different methods can be
used in different ways. The 1st and the 3rd initialization are used only in the
begining of Class constructing. The 2nd initialization can be used in different
cases as needed. For example if the Localization/Internationalization of the
application need to be chnaged dynamically and if there is some listener which
listen for Locale chnaging.