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 25091 - Use of '&' for specification of mnemonics not documented.
Summary: Use of '&' for specification of mnemonics not documented.
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Geertjan Wielenga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 16:40 UTC by Marian Petras
Modified: 2012-06-19 16:14 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2002-06-24 16:40:52 UTC
Several UI components in core parse an input
string and if an ampersand is found, the following
character is used as a mnemonic. But this is not
always documented. See the examples below (not a
complete list!).

Examples:
- Both constructors of class
org.openide.NotifyDescriptor accept parameter
'text' that may contain '&' for specification of
mnemonic character.
- One of constructors of
org.openide.DialogDescriptor accepts parameter
'Object[] options'. Each option can be a String
with '&' inserted for specification of a mnemonic
character.
- Documentation for method
org.openide.awt.Actions.setMenuText(...) mentions
usage of '&' but it is not clear enough.
Comment 1 _ ttran 2002-07-02 12:05:51 UTC
not a bug -> TASK/P2
Comment 2 Marek Grummich 2002-07-22 11:28:46 UTC
Set target milestone to TBD
Comment 3 Marek Grummich 2002-07-22 11:30:38 UTC
Set target milestone to TBD
Comment 4 Jesse Glick 2002-10-15 16:41:10 UTC
Not crucial documentation, I guess. As time permits.