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 76491 - The visual panels of a generated New File wizard are created too early
Summary: The visual panels of a generated New File wizard are created too early
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 15:12 UTC by Andrei Badea
Modified: 2009-11-02 11:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2006-05-17 15:12:38 UTC
The code generated by the New File wizard template causes all visual panels of
the wizard to be created when the implementation of
WizardDescriptor.Iterator.current() is called for the first time. Both the
getPanels() and createSteps() method iterate over all visual panels, causing
them to be created too early.
Comment 1 Martin Krauskopf 2006-05-17 16:20:40 UTC
Presumably could be lazier. Steps could be created separately and visual
components' properties initialized when it is really needed. Thanks for the catch.
Comment 2 Andrei Badea 2007-10-10 11:30:54 UTC
Just P4 for the generation of code flagrantly violating our own guidelines?

http://performance.netbeans.org/howto/dialogs/wizard-panels.html
Comment 3 Martin Krauskopf 2007-10-10 11:37:20 UTC
Did you meant to take over Jesse?
Comment 4 Jesse Glick 2007-10-10 13:38:49 UTC
I didn't really mean to take over but I guess I can. :-)
Comment 5 rmichalsky 2008-11-24 15:09:48 UTC
Not into 7.0 or next release. Feel free to reopen if more important than it seems.
Comment 6 Quality Engineering 2009-11-02 11:03:29 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX