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 199317

Summary: Enable mnemonics in popup menu for some platform apps
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: ActionsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, jglick
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 184891    

Description Jaroslav Tulach 2011-06-09 16:17:54 UTC
Some applications built on top of NetBeans Platform would like to show mnemonics in popup menus (shown by the platform). Right now there is no way to do so, mnemonics are always hidden. Let's allow such applications to control this behavior via branding:

http://netbeans.org/bugzilla/attachment.cgi?id=108774

sample application:
http://netbeans.org/bugzilla/attachment.cgi?id=108775
Comment 1 Jesse Glick 2011-06-09 17:57:45 UTC
Special bundle keys like this must be prefixed with #NOI18N to prevent e.g. bundle debug mode from touching them.
Comment 2 Jaroslav Tulach 2011-06-14 14:38:32 UTC
I'll add the NOI18N key and integrate on Thursday.
Comment 3 Jaroslav Tulach 2011-06-16 05:31:49 UTC
core-main#8581b5f5fb16
Comment 4 Quality Engineering 2011-06-16 19:55:51 UTC
Integrated into 'main-golden', will be available in build *201106161124* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8581b5f5fb16
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #199317: Application branding can enable mnemonics in popup menus when using Actions.connect