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 29831 - Hide main window before calling ModuleInstall.close(), not after
Summary: Hide main window before calling ModuleInstall.close(), not after
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 20190
  Show dependency tree
 
Reported: 2003-01-07 16:06 UTC by Jesse Glick
Modified: 2008-12-22 20:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-01-07 16:06:18 UTC
But after closing() to make sure we are really
shutting down. Should make shutting down process
seem subjectively faster, esp. on S1SEE.
Comment 1 Jesse Glick 2003-01-07 20:49:45 UTC
Seems to work well - main window disappears almost immediately, then a
few seconds pass and the app exits (if started from a shell e.g.).
Tested in NB and S1SEE, both work reasonably tho S1SEE takes longer
after hiding the window.

Also added a system property netbeans.close.when.invisible - if set to
true, then NB will shut down immediately when the window would be
closed. Useful for timing startup + shut down if you wish to exclude
time spent after app seems to have exited from a user perspective.

committed   * Up-To-Date  1.14        core/manifest.mf
committed   * Up-To-Date  1.177      
core/src/org/netbeans/core/NbTopManager.java
committed   * Up-To-Date  1.52       
core/src/org/netbeans/core/modules/ModuleManager.java
committed   * Up-To-Date  1.31       
core/src/org/netbeans/core/modules/ModuleSystem.java
Comment 2 Marian Mirilovic 2003-01-09 11:31:59 UTC
verified