aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes BUG  in JColorChooser ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "BUG  in JColorChooser ?" Watch "BUG  in JColorChooser ?" New topic
Author

BUG in JColorChooser ?

Tanveer Rameez
Ranch Hand

Joined: Dec 11, 2000
Posts: 158
hi
Suppose you display a javax.swing.JColorChooser dialog as:

Now wihtout chanig or selecting any new color, go to the RGB tab of the JColorChooser dialog. In the RGB tab, in the textfields for Red, Green and Blue colors, there is no value(there should be the value '0' in each of these textfields).But once you change the color and then again select black, the value (zero) appears. This problem is only for the initial color . If the initial color is Color.red, the textfields for blue and green are empty. Thus if the initial value of any of the red, green, blue is zero, the textfield for that component is empty. The problem is only with the display in textfield.
Is this a bug in java api?


Author of JPhotoBrush Pro (www.jphotobrushpro.com)
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
I am using 1.4Rc and it works fine. I will try it later with 1.3 and see what happens.
 
Consider Paul's rocket mass heater.
 
subject: BUG in JColorChooser ?