-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta3
-
x86
-
windows_nt
A recent change to fix JMenus (4490344) has caused a problem with JComboBox. JMenus were fixed so that when they are closed they restore focus to the component which had focus prior to them being opened. This fix seems to affect all popups. As a result, clicking on a JComboBox and then selecting an item causes focus to return to the previous focused component rather thant the JComboBox. This is likely due to the fact that the first requestFocus() on the JComboBox doesn't complete until after the previous focus owner has been saved.
This can be reproduced using SwingSet2. Just click on a JComboBox, select an item, and see where the focus goes.
This can be reproduced using SwingSet2. Just click on a JComboBox, select an item, and see where the focus goes.
- relates to
-
JDK-4490344 Selecing menu item steals focus and fails to return it.
-
- Closed
-