<Swing Dev> <AWT Dev> [13] RFR 8153090 8223788 8224149: TAB key cannot change input focus after the radio button in the Color Selection dialog.+

semyon.sadetsky at oracle.com semyon.sadetsky at oracle.com
Wed May 22 22:16:49 UTC 2019


On 5/20/19 11:48 PM, Prasanta Sadhukhan wrote:

> Probably we can move this traversal code to 
> javax.swing.SortingFocusTraversalPolicy#SwingContainerOrderFocusTraversalPolicy 
> for this JToggleButton swing component to avoid this scepticism.
Hi Prasanta,
We cannot move it there because it'd not be called when 
ContainerOrderFocusTraversalPolicy is used.
--Semyon
>
> Regards
> Prasanta
> On 21-May-19 1:36 AM, semyon.sadetsky at oracle.com wrote:
>> On 5/20/19 11:04 AM, Philip Race wrote:
>>
>>> Hi,
>>>
>>> I'm afraid I know next to nothing about the focus traversal
>>> code in Swing or AWT, but it smells very wrong to have
>>> such knowledge of a specific Swing component in the
>>> AWT focus code.
>> I don't see anything wrong here. You can find a lot of Swing 
>> component specific code in java.awt.* implementations. This is not 
>> the first Swing aware AWT class.
>>
>> --Semyon
>>>
>>> -phil.
>>>
>>> On 5/20/19, 8:37 AM, semyon.sadetsky at oracle.com wrote:
>>>> bugs:
>>>>
>>>> https://bugs.openjdk.java.net/browse/JDK-8153090
>>>>
>>>> https://bugs.openjdk.java.net/browse/JDK-8223788
>>>>
>>>> https://bugs.openjdk.java.net/browse/JDK-8224149
>>>>
>>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8153090/webrev.00/
>>>>
>>>> The fix eliminates issues in JColorChooser dialog making it more 
>>>> accessible by keyboard. See JBS for details.
>>>>
>>>> --Semyon
>>>>
>>
>



More information about the swing-dev mailing list