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 30604

Summary: create infrastructure (API) for asynchronous post-init of visible components
Product: platform Reporter: David Simonek <dsimonek>
Component: -- Other --Assignee: David Simonek <dsimonek>
Status: RESOLVED FIXED    
Severity: blocker CC: jrechtacek, thurka
Priority: P3 Keywords: API, PERFORMANCE
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 28025, 28028    

Description David Simonek 2003-02-03 14:42:17 UTC
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.
Comment 1 David Simonek 2003-02-03 14:51:34 UTC
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.
Comment 2 David Simonek 2003-02-05 16:26:29 UTC
tests completed, implementation integrated into main trunk.