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 42361

Summary: o.o.awt.Actions does a bad job of handling '&' in action names
Product: platform Reporter: Jesse Glick <jglick>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: CLOSED DUPLICATE    
Severity: blocker CC: mslama, phrebejk, rnajman
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Jesse Glick 2004-04-22 21:17:53 UTC
o.o.awt.Mnemonics looks like it is pretty careful
about how '&' is treated. But Actions is not so
careful, and sometimes thinks '&' is introducing a
mnemonic when clearly it is not, e.g. before a
space character. Examples:

1. Context menu item on NBM projects should read
"Build with Dependencies & Try" but appears as
"Build with Dependencies  Try".

2. Toolbar button has a tooltip "Clean  Build Main
Project (Shift-F11)" whereas the menu item is
"Clean & Build Main Project".
Comment 1 Jesse Glick 2004-05-18 14:11:57 UTC
*** Issue 43436 has been marked as a duplicate of this issue. ***
Comment 2 Jesse Glick 2004-05-18 14:13:19 UTC
Probably all mnemonic-handling code in Actions should be reviewed and
either deleted in favor of Mnemonics or merged with that somehow.
There is currently some confusing redundancy even in the API.
Comment 3 Jesse Glick 2004-05-21 16:14:06 UTC
P2; fairly visible.
Comment 4 Jesse Glick 2004-05-21 16:14:27 UTC
*** Issue 43680 has been marked as a duplicate of this issue. ***
Comment 5 Radko Najman 2004-05-25 14:16:10 UTC
*** Issue 43558 has been marked as a duplicate of this issue. ***
Comment 6 Jesse Glick 2004-06-15 13:09:25 UTC
Marek, didn't you already fix something here?
Comment 7 mslama 2004-06-15 13:40:49 UTC
Yes it is fixed as issue #43594. (At least partially.)

*** This issue has been marked as a duplicate of 43594 ***
Comment 8 mslama 2004-06-15 13:43:10 UTC
See also issue #43998 for more details.
Comment 9 Marian Mirilovic 2005-07-14 13:11:55 UTC
verified duplicate