(original) (raw)
Updated the repository used in webrev from jdk8-tl to�http://hg.openjdk.java.net/jdk8/awt/jdk �.
---------- Forwarded message ----------
From: Sean Chou <zhouyx@linux.vnet.ibm.com>
Date: Thu, Aug 9, 2012 at 3:29 PM
Subject: Add keyboard accessibility to JColorChooser swatch
To: swing-dev@openjdk.java.net
Hi all,
--
Best Regards,
Sean Chou
From: Sean Chou <zhouyx@linux.vnet.ibm.com>
Date: Thu, Aug 9, 2012 at 3:29 PM
Subject: Add keyboard accessibility to JColorChooser swatch
To: swing-dev@openjdk.java.net
Hi all,
� � This is a patch to add keyboard�accessibility to JColorChooser swatch, so when using TAB, the focus can move to�SwatchPanel, choose color with arrow keys and select color with space bar.�
In current implementation, it is not able to move the focus to�SwatchPanel with TAB, this can be seen in SwingSet2 demo.�
Steps:�
1\. run SwingSet2 demo�
2\. click on JColorChooser demo
3\. click Background button and Swatches panel appears.
4\. Press Tab key � � => � focus moves to OK button as shown in this image�http://cr.openjdk.java.net/\~zhouyx/OJDK-61/screenshot\_1.png
With this patch, in step4, focus moves to�SwatchPanel, as shown here�http://cr.openjdk.java.net/\~zhouyx/OJDK-61/screenshot\_2.png
Then, arrow keys can be used to choose color and select color by space bar.
The webrev is�http://cr.openjdk.java.net/\~zhouyx/OJDK-61/webrev.00/ �.�
Please take a look.
Best Regards,
Sean Chou
Best Regards,
Sean Chou