-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
7
-
generic
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2223195 | 7u6 | Leonid Romanov | P4 | Closed | Won't Fix |
http://java.net/jira/browse/MACOSX_PORT-674 submitted 2011/11/08 by Alexander Petrov
1) Set mnemonic 'b' for label (JLabel.setDisplayedMnemonic('b')<img class="emoticon" src="/jira/images/icons/emoticons/wink.gif" height="20" width="20" align="absmiddle" alt="" border="0"/>
2) Set keyboard focus on JTextField.
3) Press Alt+b
Result: focus doesn't switch to the label's component but symbol will be printer in JTextField.
Same problem reproduced with next symbols:
'x' 'v' 'n' '<' '>' 'd' 'j' ';' '<span class="error">[' ']</span>' 'i' 'u' 't' 'e' 'w'
Build: b216
Keywords: test-fail-macos
Tests failed:
closed/javax/swing/plaf/basic/BasicLabelUI/4798542/bug4798542.java
1) Set mnemonic 'b' for label (JLabel.setDisplayedMnemonic('b')<img class="emoticon" src="/jira/images/icons/emoticons/wink.gif" height="20" width="20" align="absmiddle" alt="" border="0"/>
2) Set keyboard focus on JTextField.
3) Press Alt+b
Result: focus doesn't switch to the label's component but symbol will be printer in JTextField.
Same problem reproduced with next symbols:
'x' 'v' 'n' '<' '>' 'd' 'j' ';' '<span class="error">[' ']</span>' 'i' 'u' 't' 'e' 'w'
Build: b216
Keywords: test-fail-macos
Tests failed:
closed/javax/swing/plaf/basic/BasicLabelUI/4798542/bug4798542.java
- backported by
-
JDK-2223195 [macosx] Sometimes JLabel's mnemonic doesn't work if keyboard focus on JTextField
-
- Closed
-