Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BUG in JColorChooser ?

 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using 1.4Rc and it works fine. I will try it later with 1.3 and see what happens.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic