Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7194184

JColorChooser swatch cannot accessed from keyboard

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7
    • client-libs
    • b61
    • x86
    • linux

        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.

              rupashka Pavel Porvatov (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: