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 84531

Summary: Create mnemonic automatically from '&' character
Product: guibuilder Reporter: jfurmankiewicz <jfurmankiewicz>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jfurmankiewicz 2006-09-08 18:52:31 UTC
One of the things that makes form editing in VB/C# productive is the fact all
you need to do when handling mnemonics is just add the "&" character before the
letter, e.g. "Bro&wse..." (which would treat "w" as the mnemonic)

It would be great if Matisse could do this autotically when editing the labels
on buttons and menu items...i.e. allow to enter text with "&" and then upon
committing the new text, remove it from the actual text property and updated the
mnemonic property with the selected letter automatically.

This would bring Matisse even more up in terms of productivity to VB-type form
editors.
Comment 1 Tomas Pavek 2006-09-11 12:47:36 UTC
We already have this features, however it is available only for GUI forms 
running on the NetBeans platform (as plug-in modules). See issue 27009. This 
feature requires additional functionality which is not available in standard 
Java classes, but is too complicated to be generated into the user code 
directly. Hopefully it will be added to Java 7. Before that, it might also be 
part of JSR-296 which we plan to support.

*** This issue has been marked as a duplicate of 27009 ***