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.
When I add a ProjectSensitiveAction to a toolbar with the displayName "Foo ({1})", the {1} resolves to an empty string in the tooltip. The same action in a menu resolves to "Foo (ProjectName)" in the menu text.
I will try to fix this.
The same applies to FileCommandAction(s). Fixed in trunk by commit: Checking in src/org/netbeans/modules/project/ui/actions/FileCommandAction.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/FileCommandAction.java,v <-- FileCommandAction.java new revision: 1.12; previous revision: 1.11 done Checking in src/org/netbeans/modules/project/ui/actions/ProjectAction.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/ProjectAction.java,v <-- ProjectAction.java new revision: 1.9; previous revision: 1.8 done