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 - create infrastructure (API) for asynchronous post-init of visible components
Summary: create infrastructure (API) for asynchronous post-init of visible components
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: API, PERFORMANCE
Depends on:
Blocks: 28025 28028
  Show dependency tree
 
Reported: 2003-02-03 14:42 UTC by David Simonek
Modified: 2008-12-22 19:08 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.