-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.1.6
-
x86
-
windows_nt
Name: el35337 Date: 06/18/98
When tabbing in a JInternalFrame using the Metal
L&F, you can tab to the min/max/iconify buttons
in the MetalInternalFrameTitlePane. This is
not typical behavior and is undesirable.
This behavior exists because the MetalInternalFrameTitlePane
creates instances of JButton for these buttons.
This is different than what BasicInternalFrameTitlePane
does. It subclasses JButton and overrides
isFocusTraversable to return false and then uses
instances of this subclass for the min/max/iconify
buttons. Unfortunately, MetalInternalFrameTitlePane
does not subclass BasicInternalFrameTitlePane.
I would suggest using a JButton subclass that
is not focus traversable for the min/max/iconify
buttons in MetalInternalFrameTitlePane as well.
(Review ID: 33897)
======================================================================
- duplicates
-
JDK-4132891 Metal internal frame buttons aquire focus
- Closed