JDK-4248272 : Enh'd mnemonic-setting (e.g., "view by _D_ate/_S_ize/_K_ind")
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-06-22
  • Updated: 2000-12-14
  • Resolved: 2000-12-14
Related Reports
Duplicate :  
Description

Name: krT82822			Date: 06/21/99


The JAbstractButton.setMnemonic method allows me to specify the 
mnemonic character, but it doesn't let me specify the position. 
Here's why I want to specify by position. 
Suppose I have several menu items that look like this:

Sort by Date
Sort by Name
Sort by Kind
Sort by Size
Sort by ...

I always want the mnemonic to be the first letter of the third
word. I can do this with every menu item except "Sort by Size."
There simply isn't any way to tell it to use the second "S" in
the string. Please add this functionality.
(Review ID: 84627) 
======================================================================

Comments
EVALUATION This was added as part of 4138746, refer to it for more information. scott.violet@eng 2000-12-14
14-12-2000