-
Bug
-
Resolution: Duplicate
-
P4
-
5.0
-
x86
-
windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2119920 | 5.0 | Alexander Zuev | P4 | Closed | Duplicate |
JMenu loosing focus on hitting ESC when its popup menu is visible in Windows Look and Feel.
Steps to reproduce.
1) Run the attached code.
2) Press the ALT key, it will select the menu "Test 1".
3) Hit Enter key, it will make "Test 1" popup menu visible.
4) Now hit ESC key, It will hide the popup of "Test 1" as well as take away the focus from "Test 1", ideally it should only hide the popup menu of "Test 1" and menu "Test 1" should have focus just like it have aftere step 2.
Steps to reproduce.
1) Run the attached code.
2) Press the ALT key, it will select the menu "Test 1".
3) Hit Enter key, it will make "Test 1" popup menu visible.
4) Now hit ESC key, It will hide the popup of "Test 1" as well as take away the focus from "Test 1", ideally it should only hide the popup menu of "Test 1" and menu "Test 1" should have focus just like it have aftere step 2.
- backported by
-
JDK-2119920 JMenu loosing focus on hitting ESC when its popup menu is visible
-
- Closed
-
- duplicates
-
JDK-6471949 JMenu should stay selected after escape is pressed
-
- Closed
-