FULL PRODUCT VERSION : java version "1.7.0_01" Java(TM) SE Runtime Environment (build 1.7.0_01-b08) Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode) ADDITIONAL OS VERSION INFORMATION : It is OS independent. The OS I tested is Linux d61 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux A DESCRIPTION OF THE PROBLEM : It is not able to move the focus to SwatchPanel with TAB, and cannot select color using keyboard, 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 For more information, please refer to http://mail.openjdk.java.net/pipermail/swing-dev/2012-August/002189.html STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 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 EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Focus goes to colors and can be selected using space bar. Like http://cr.openjdk.java.net/~zhouyx/OJDK-61/screenshot_2.png REPRODUCIBILITY : This bug can be reproduced always.
|