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 101282 - generated code is too large
Summary: generated code is too large
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2007-04-17 09:59 UTC by lorenzo
Modified: 2008-05-05 10:00 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 lorenzo 2007-04-17 09:59:02 UTC
when creating a large gui with lot of components, the code inside the 
initComponents becomes too large to be compiled, surpassing the 64k limits.

building the panels separately and assembling them in a form is not an 
options, as when the panels are reasasembled on another form, the components 
are copied inside the form.

is there a metisse branch where the components are initialised in their own 
function, in a way similar of the segmentation of the Visual Editor for 
Comment 1 Tomas Pavek 2007-07-13 18:54:32 UTC
This is not a common problem and the solution (implementation) is not trivial. We may consider the option to separate
each component's code into its method in future.