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 14973 - Please remove static icons from BeanInfos
Summary: Please remove static icons from BeanInfos
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 14943
  Show dependency tree
 
Reported: 2001-08-30 16:09 UTC by Petr Nejedly
Modified: 2003-06-30 14:45 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 Petr Nejedly 2001-08-30 16:09:33 UTC
There are *BeanInfo classes which uses static images.

The sources to modify which I know of:
AntSettingsBeanInfo.java
AntCompilerTypeBeanInfo.java
AntExecutorBeanInfo.java
IndirectAntCompilerTypeBeanInfo.java
AntProjectDataLoaderBeanInfo.java
Comment 1 _ mruflin 2001-08-30 16:35:48 UTC
Removed in the 5 classes mentionned above.
Comment 2 Petr Nejedly 2001-08-30 16:57:17 UTC
Oops, I thought that Jesse will be handling this and I didn't like
to educate him on the basics, so I left out the usual clause:

"For loading images, use org.openide.util.Utilities.loadImage in
getImage without any caching (Utilities will do SoftCaching for you)."

Could you please also add the "Utilities."(org.openide.util.Utilities)
and remove the leading "/" from the URI of the loaded images?
Comment 3 _ mruflin 2001-08-30 17:14:00 UTC
:)
fixed again
Comment 4 Petr Nejedly 2001-08-30 17:29:19 UTC
OK,verified
Comment 5 Quality Engineering 2003-06-30 14:45:49 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.