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 67987 - Icon handling in XML navigator
Summary: Icon handling in XML navigator
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-11-02 15:09 UTC by _ rkubacki
Modified: 2006-03-06 13:21 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 2005-11-02 15:09:27 UTC
XML navigator has several icons to annotate parts of the document. To make
handling of these icons more efficient I suggest: 

make it possible to release when there is no XML used by the user so using
instance vars of some object with good lifecycle can be better

use Utilities.loadImage to get images optimized for size (and also cached)
Comment 1 Marek Fukala 2005-11-02 17:44:49 UTC
fixed

Checking in
xml/text-edit/src/org/netbeans/modules/xml/text/navigator/NavigatorTreeCellRenderer.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/navigator/NavigatorTreeCellRenderer.java,v
 <--  NavigatorTreeCellRenderer.java
new revision: 1.8; previous revision: 1.7
done
Comment 2 Jiri Kovalsky 2006-03-06 13:21:37 UTC
Icons are not static now. Verified by looking into Navigator tree cell renderer
sources.