-
Bug
-
Resolution: Fixed
-
P3
-
6
-
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.
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.
- relates to
-
JDK-8316896 In javax/swing/JColorChooser/Test6541987.java, focus in on incorrect component
- Open
-
JDK-6590667 Potential error: deprecated method is used
- Closed