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 28490 - [Class Wizard] Java wizard panels are too heavyweight
Summary: [Class Wizard] Java wizard panels are too heavyweight
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 27795 34165
  Show dependency tree
 
Reported: 2002-11-05 16:42 UTC by David Simonek
Modified: 2007-09-26 09:14 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-05 16:42:53 UTC
WizardDescriptor.Panel implementations
org\netbeans\modules\java\ui\wizard\ClassPanel.java,
FieldsPanel, MethodsPanel, OverridePanel
provides itself as the result of getComponent().
This hurts performance and can cause a clash when
Component.isValid() is overridden.
Please use 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 Svata Dedic 2003-01-15 13:06:09 UTC
Checking in ui/wizard/ClassPanel.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/ClassPanel.java,v 
<--  ClassPanel.java
new revision: 1.12; previous revision: 1.11
done
Checking in ui/wizard/FieldsPanel.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/FieldsPanel.java,v 
<--  FieldsPanel.java
new revision: 1.15; previous revision: 1.14
done
Checking in ui/wizard/JavaPanel.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/JavaPanel.java,v 
<--  JavaPanel.java
new revision: 1.4; previous revision: 1.3
done
Checking in ui/wizard/JavaWizardIterator.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/JavaWizardIterator.java,v
 <--  JavaWizardIterator.java
new revision: 1.14; previous revision: 1.13
done
Checking in ui/wizard/MethodsPanel.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/MethodsPanel.java,v
 <--  MethodsPanel.java
new revision: 1.12; previous revision: 1.11
done
Checking in ui/wizard/OverridePanel.java;
/cvs/java/src/org/netbeans/modules/java/ui/wizard/OverridePanel.java,v
 <--  OverridePanel.java
new revision: 1.10; previous revision: 1.9
done
Comment 2 Jan Becicka 2003-02-27 12:32:10 UTC
Reporter, could you verify this bug? Thanks
Comment 3 David Simonek 2003-02-27 15:57:47 UTC
verified. thx for yor prfrmrnc wrk
:-)