The unfortunate thing is that, for this to be possible, there'd probably need to be some fundamental changes in the NetBeans sources. For example, if you look for the source of the CutAction, you'll find this somewhere in openide/actions:
public class CutAction extends CallbackSystemAction {
protected void initialize() {
super.initialize();
}
public Object getActionMapKey() {
return javax.swing.text.DefaultEditorKit.cutAction;
}
public String getName() {
return NbBundle.getMessage(CutAction.class, "Cut");
}
public HelpCtx getHelpCtx() {
return new HelpCtx(CutAction.class);
}
protected String iconResource() {
return "org/openide/resources/actions/cut.gif"; // NOI18N
}
protected boolean asynchronous() {
return false;
}
}
So, this means that the location and name of the icon "cut.gif" are both hard coded right here in the sources. Should you want that icon to be different, you'd need to create a module suite in the IDE, and put a different icon (with the same name) in the correct location in the branding folder:
That's not exactly ideal. I don't see many users wanting new icons so badly that they'd create a branded version of NetBeans IDE, just for that purpose. (Although, as you can see, this is completely possible.) If icons were to be offered in sets in the Options window (with the additional possibility of letting users register additional sets), the source code would need to be changed for that to happen. There'd need to be an API for changing existing icons in NetBeans Platform applications. Now that would be cool.
Hmm, themes! :)
Ino!~
http://www.netbeans.org/issues/show_bug.cgi?id=70882