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.
Typical performance problem is slow fist open of various visible components (frames, dialogs, wizards). Good solution that works in majority of cases is to display only fast and most needed parts of component UI, and post-init slower parts.
Current state of implementation: 1) API consists of org.openide.util.Cancellable interface, org.openide.awt.AsyncGUIJob interface and org.openide.util.Utilities.attachInitJob method. 2) Infrastructure code is complete, tested on org.netbeans.core.ui.IDESettingsPanel, unit tests almost completed. Everything lives in branch dialog_init_november2002. Branched parts of source code are core/src, core/test, openide/src, openide/test 3) Draft of howto lives on netbeans.org site, see http://performance.netbeans.org/responsiveness/improving/postinit_of_comps.html 4) Remaining things: Obtain final validation of API from openide-dev mailing list, complete unit tests, merge to trunk.
tests completed, implementation integrated into main trunk.
cvs diffs: http://openide.netbeans.org/source/browse/openide/src/org/openide/util/Utilities.java.diff?r1=1.120&r2=1.121 http://openide.netbeans.org/source/browse/openide/src/org/openide/util/AsyncGUIJob.java.diff?r1=1.1&r2=1.2 http://openide.netbeans.org/source/browse/openide/src/org/openide/util/AsyncInitSupport.java.diff?r1=1.1&r2=1.2 http://openide.netbeans.org/source/browse/openide/src/org/openide/util/Cancellable.java.diff?r1=1.1&r2=1.2 http://openide.netbeans.org/source/browse/openide/test/unit/src/org/openide/util/InitJobTest.java.diff?r1=1.1&r2=1.2 http://core.netbeans.org/source/browse/core/src/org/netbeans/core/ui/IDESettingsPanel.form.diff?r1=1.12&r2=1.13 http://core.netbeans.org/source/browse/core/src/org/netbeans/core/ui/IDESettingsPanel.java.diff?r1=1.27&r2=1.28 http://core.netbeans.org/source/browse/core/src/org/netbeans/core/ui/IDESettingsWizardPanel.java.diff?r1=1.3&r2=1.4