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 50544 - Debugger UI eagerly sets icons to actions on startup
Summary: Debugger UI eagerly sets icons to actions on startup
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 49990
  Show dependency tree
 
Reported: 2004-10-18 10:41 UTC by _ rkubacki
Modified: 2010-04-29 09:19 UTC (History)
1 user (show)

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 _ rkubacki 2004-10-18 10:41:58 UTC
Typically actions in debugger call in their
constructors 
putValue(NAME,...)
putValue(SMALL_ICON,Utils.getIcon(...))
putValue("iconbase",...)

This is too eager and consumes time during the
startup (while 1st editor component is
deserialized) though the icon is not shown at this
time. It should be enough to remove SMALL_ICON
value and core ought to find proper icon according
to the purpose based on iconbase.
Comment 1 Martin Entlicher 2005-12-13 17:36:28 UTC
O.K. we'll check this...
Comment 2 Martin Entlicher 2008-09-19 13:08:29 UTC
Fixed in changeset:   102827:a3a22b2417e1
http://hg.netbeans.org/main/rev/a3a22b2417e1
Comment 3 Quality Engineering 2008-09-20 05:36:32 UTC
Integrated into 'main-golden', will be available in build *200809200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a3a22b2417e1
User: mentlicher@netbeans.org
Log: #50544 - Use just "iconbase" instead of Action.SMALL_ICON. Performance improvement.
Comment 4 Quality Engineering 2010-04-29 09:19:41 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.