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 29880 - WelcomeComponent should use componentShowing
Summary: WelcomeComponent should use componentShowing
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Richard Gregor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-01-08 18:15 UTC by Jesse Glick
Modified: 2005-03-09 04:28 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 Jesse Glick 2003-01-08 18:15:43 UTC
See CloneableEditor for example. Should not do
expensive initialization of component until it is
shown. Consider a user who starts NB, opens a
source file (does not first close welcome panel),
shuts down, restarts. Only the source file is
showing, yet the startup cost is paid to compute
the GUI of the hidden welcome panel - which is not
very cheap, since it uses HTML editor kits etc
(TipPanel in particular shows up clearly in a
profiler).
Comment 1 Richard Gregor 2004-02-09 08:49:02 UTC
Fixed.

Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java;
/cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v
 <--  WelcomeComponent.java
new revision: 1.27; previous revision: 1.26
done

Comment 2 Marian Mirilovic 2004-06-23 06:42:16 UTC
verified / closed