-
Bug
-
Resolution: Fixed
-
P3
-
1.1.4
-
1.2beta4
-
x86
-
windows_nt
-
Not verified
==========================================================================
carlos.lucasius@canada 1998-05-06:
Bug reported by Corel (licensee) for JFC1.1 using JDK1.1.4 on WINNT4.0.
Corel: "Critical bug for our product - requires immediate attention."
Typing a JMenuItem shortcut when the focus is in a JTextField adds a
character to the text field in addition to invoking the JMenuItem command.
To reproduce:
(1) Create a JFrame with a JTextField and a JMenuBar containing a JMenu
which contains a JMenuItem with the shortcut ALT-left (i.e., ALT pressed
simultaneously with the left arrow key)
(2) Click in the JTextField to give it the focus and then type ALT-left
Result:
The JMenuItem to which the shortcut corresponds is executed and a comma
(',') character has been added to the JTextField. The comma should not be
added to the JTextField.
carlos.lucasius@canada 1998-05-06:
Bug reported by Corel (licensee) for JFC1.1 using JDK1.1.4 on WINNT4.0.
Corel: "Critical bug for our product - requires immediate attention."
Typing a JMenuItem shortcut when the focus is in a JTextField adds a
character to the text field in addition to invoking the JMenuItem command.
To reproduce:
(1) Create a JFrame with a JTextField and a JMenuBar containing a JMenu
which contains a JMenuItem with the shortcut ALT-left (i.e., ALT pressed
simultaneously with the left arrow key)
(2) Click in the JTextField to give it the focus and then type ALT-left
Result:
The JMenuItem to which the shortcut corresponds is executed and a comma
(',') character has been added to the JTextField. The comma should not be
added to the JTextField.
- relates to
-
JDK-4089641 Swing 0.5.1 - registerKeyboardAction() doesn't consume key used to invoke it.
-
- Resolved
-
-
JDK-4126659 setMnemonic not consuming keystroke
-
- Closed
-