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 66350 - [50cat] use new and laf depend icons
Summary: [50cat] use new and laf depend icons
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 08:08 UTC by lordy
Modified: 2006-10-23 16:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
screenshot of project view with module icon and native folder icon (16.65 KB, image/png)
2005-10-10 08:09 UTC, lordy
Details
patch of autoupdate/src/org/netbeans/modules/autoupdate/UpdateNode.java (3.17 KB, patch)
2005-12-21 08:09 UTC, lordy
Details | Diff
screenshot show use of native icon (100.77 KB, image/png)
2005-12-21 08:09 UTC, lordy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-10-10 08:08:04 UTC
[ BUILD # : 200510061800 ]
[ JDK VERSION : 1.6 ]

The module icon should be the same use in the project view. I 
would be nice if the folder icon use the folder icon from the current 
laf also like project view.
Comment 1 lordy 2005-10-10 08:09:32 UTC
Created attachment 25724 [details]
screenshot of project view with module icon and native folder icon
Comment 2 lordy 2005-10-10 11:12:13 UTC
I mean icons in the Update Center an the Module Manager
Comment 3 lordy 2005-12-10 16:28:13 UTC
I try to create a patch that fix the use of native folder icon in Update Center. I found out that in 
UpdateNode.java  private static final String MODULE_GROUP_ICON_BASE = "org/openide/loaders/
defaultFolder"; // NOI18N define the icon i want to change to the native folder icon depend on current 
Look and Feel.
Then i check AbstractNode.java and see that it is inpossible to set an ImageIcon to the node, only 
IconBases can set, so it is not possible to use a Look And Feel Icon. Else it would so easy to use 
EXPLORER_FOLDER_ICON and EXPLORER_FOLDER_OPENED_ICON from org.netbeans.swing.plaf.LFCustoms

But the module icon should stil be changed to the same use in the project view.
Comment 4 lordy 2005-12-21 08:09:17 UTC
Created attachment 27995 [details]
patch of autoupdate/src/org/netbeans/modules/autoupdate/UpdateNode.java
Comment 5 lordy 2005-12-21 08:09:52 UTC
Created attachment 27996 [details]
screenshot show use of native icon
Comment 6 Jiri Rechtacek 2006-08-10 15:18:09 UTC
Sorry, your fix doesn't work for me. Patch was inapplicable and further the code
doesn't work, I get only empty icons.