• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BUG in JColorChooser ?

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic