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 28403 - TestStringWizardPanel UI component is constructed too early.
Summary: TestStringWizardPanel UI component is constructed too early.
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 27795 34222
  Show dependency tree
 
Reported: 2002-11-01 16:32 UTC by David Simonek
Modified: 2004-02-23 09:26 UTC (History)
0 users

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 David Simonek 2002-11-01 16:32:43 UTC
WizardDescriptor.Panel implementation
TestStringWizardPanel.Panel provides 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 Peter Zavadsky 2002-11-01 17:07:36 UTC
You are wrong, please check more closer the code. See commnent in
issue #28403.
Comment 2 David Simonek 2002-11-01 17:24:37 UTC
Yes I was wrong, sorry. getComponent() code is ok, however           
TestStringWizardPanel is constructed when
TestStringWizardPanel.Panel is constrcuted, which is too early, wizard
panel is heavyweight due to this.
Goal is to make construction of wizard panel as fast as possible, with
lazy init of UI component.

I'm updating summary field to reflect reality.

Comment 3 _ pkuzel 2002-11-01 17:44:00 UTC
fixed
Comment 4 ehucka 2004-02-23 09:26:08 UTC
verified