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

Summary: WelcomeComponent should use componentShowing
Product: ide Reporter: Jesse Glick <jglick>
Component: WelcomeAssignee: Richard Gregor <rgregor>
Status: CLOSED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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