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

JColorChooser dn't disappear when escape key is pressed, when focus is in JSpinner

XMLWordPrintable

    • b20
    • sparc
    • solaris_10
    • Not verified

      JColorChooser dn't disappear when escape key is pressed, when focus is in JSpinner or when the focus in the Color Name textfield , but when the focus is on some other components on the JColorChooser it gets disappeared. This works fine in native demo gtk-demo.

      Step to reproduce
      ------------------
      1) Run the SwingSet2.
      2) Select JColorChooser demo.
      3) Click on the "Background" button. You will see a JColorChooser dialog.
      4) press "Escape key" Observe that JColorChooser dialog gets disapper.
      5) Repeat step (3).
      6) click on "Hue" Jspinner. press "Escape key" Observe that JColorChooser dialog dn't gets disappear.
      7) press tab & get the focus on "Color Name" textfield . press "Escape key" Observe that JColorChooser dialog dn't gets disappear.
      If you see the same then the bug is reproduced. This can be reproduced in all look and feel. I tried in jdk 1.5.0 b64 to jdk 7.0 b10 & its reproduced.

            malenkov Sergey Malenkov (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: