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.
[ 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.
Created attachment 25724 [details] screenshot of project view with module icon and native folder icon
I mean icons in the Update Center an the Module Manager
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.
Created attachment 27995 [details] patch of autoupdate/src/org/netbeans/modules/autoupdate/UpdateNode.java
Created attachment 27996 [details] screenshot show use of native icon
Sorry, your fix doesn't work for me. Patch was inapplicable and further the code doesn't work, I get only empty icons.