-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
generic
-
solaris_2.6
javax.swing.AbstractButton.setFocusPainted() spec should be broadened to
take into account the fact that some look and feels might not support
painting the focus on the screen.
Apple's MAC OS X Aqua Look and Feel doesn't support painting focus for
subclasses of AbstractButton. Need to broaden the spec in order to enable
Apple passing the JCK. Approved by Lara Bunni.
The spec should be changed in the following way:
Replace the following in javax.swing.AbstractButton
"Sets whether focus should be painted
b - if true, the focus state is painted"
with ->
"Provides a hint to the look and feel whether focus should be painted
b - if true, the look and feel is advised to paint the focus."
======================================
Here is the excerpt of Apple's message :
Date: Thu, 15 Feb 2001 15:27:38 -0800
From: Peri Frantz <###@###.###>
Subject: Re: JCK, Mac Aqua Look & Feel, and traversable focus
Cc: Peri Frantz <###@###.###>, Blaine Garst <###@###.###>, Peter Steinauer <###@###.###>, Barry Langdon-Lassagne <###@###.###>, Steve Naroff <###@###.###>
To: Kirill Soshalsky <###@###.###>
Content-Transfer-Encoding: 7bit
.....
"Aqua does not support the concept of keyboard traversable focus for all
components. For Java, we have implemented traversable focus for all
components but for some components, the focus is not visible."
take into account the fact that some look and feels might not support
painting the focus on the screen.
Apple's MAC OS X Aqua Look and Feel doesn't support painting focus for
subclasses of AbstractButton. Need to broaden the spec in order to enable
Apple passing the JCK. Approved by Lara Bunni.
The spec should be changed in the following way:
Replace the following in javax.swing.AbstractButton
"Sets whether focus should be painted
b - if true, the focus state is painted"
with ->
"Provides a hint to the look and feel whether focus should be painted
b - if true, the look and feel is advised to paint the focus."
======================================
Here is the excerpt of Apple's message :
Date: Thu, 15 Feb 2001 15:27:38 -0800
From: Peri Frantz <###@###.###>
Subject: Re: JCK, Mac Aqua Look & Feel, and traversable focus
Cc: Peri Frantz <###@###.###>, Blaine Garst <###@###.###>, Peter Steinauer <###@###.###>, Barry Langdon-Lassagne <###@###.###>, Steve Naroff <###@###.###>
To: Kirill Soshalsky <###@###.###>
Content-Transfer-Encoding: 7bit
.....
"Aqua does not support the concept of keyboard traversable focus for all
components. For Java, we have implemented traversable focus for all
components but for some components, the focus is not visible."
- duplicates
-
JDK-4420209 We should specify the default L&F and which properties a L&F might ignore.
-
- Resolved
-
- relates to
-
JDK-4414827 java.awt.MenuBar.setFont() spec needs to be relaxed
-
- Resolved
-