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 28445

Summary: SAX wizard panels hurt performance
Product: xml Reporter: David Simonek <dsimonek>
Component: CodeAssignee: _ pkuzel <pkuzel>
Status: VERIFIED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 27795    

Description David Simonek 2002-11-04 14:36:34 UTC
WizardDescriptor.Panel implementations
org\netbeans\modules\xml\core\wizard\AbstractPanel.java
org\netbeans\modules\xml\tools\generator\SAXGeneratorAbstractPanel.java

provide itself as the result of getComponent().
This hurts performance and can cause a clash when
Component.isValid() is overridden.
Please use a separate component class, see details
at
http://performance.netbeans.org/howto/dialogs/wizard-panels.html.

Easy to fix, P2 justification - performance is top
priority.
Comment 1 _ pkuzel 2002-11-05 09:16:31 UTC
I'll fix it soon...
Comment 2 _ pkuzel 2002-11-05 17:48:39 UTC
core/wizard used in New from template isValid() clash fixed. It was
not P9E problem because it uses custom WizardIterator that lazy
initializes wizard panels.

Comment 3 David Simonek 2002-11-05 17:59:13 UTC
Agreed, but only halfway. Still it's better to create expensive UI
panel in getComponent, so that system can decide when it's right time
to do it - see detailed description section in howto.
Comment 4 _ pkuzel 2002-11-22 17:49:55 UTC
Tools wizard panels fixed. 
Comment 5 Martin Schovanek 2003-03-14 12:38:41 UTC
VERIFIED
Comment 6 _ pkuzel 2003-06-16 13:35:38 UTC
Removed #34223 blocker. already in prj40_prototype build.