This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BUG in JColorChooser ?
 
Similar Threads
Points on an Image
JColor Chooser Dialog
converting html to pdf
BufferedImage and scanning pixels
how to set Box color?