-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
None
-
beta3
-
x86, sparc
-
solaris_2.6, windows_nt
-
Verified
WinNT 4.0 SP5 - Dual processor - merlin b74
To reproduce:
Open Stylepad and place focus on the text component. Click on the "File" menu to open it. Now move the mouse over to the "Color" menu and select "Red". The menu closes and focus is not restored to the text component.
Manually restore focus to the text component by clicking on it with the mouse. Click on the "Color" menu to open it. Now click on "Color" again. The menu closes and focus is not restored to the text component.
To see the proper behaviour, put focus back on the text component and the click "Color" immediately followed by "Red". The focus IS restored in this case.
In ALL cases, the focus should be restored to the component that had focus before the menus were navigated.
To reproduce:
Open Stylepad and place focus on the text component. Click on the "File" menu to open it. Now move the mouse over to the "Color" menu and select "Red". The menu closes and focus is not restored to the text component.
Manually restore focus to the text component by clicking on it with the mouse. Click on the "Color" menu to open it. Now click on "Color" again. The menu closes and focus is not restored to the text component.
To see the proper behaviour, put focus back on the text component and the click "Color" immediately followed by "Red". The focus IS restored in this case.
In ALL cases, the focus should be restored to the component that had focus before the menus were navigated.
- duplicates
-
JDK-4506786 JTable "steals" keyboard focus from JMenu
-
- Closed
-
- relates to
-
JDK-4504267 JComboBox popup restores focus to wrong component.
-
- Resolved
-