JTextField color
how do I change it?
name of my JTextField is kiloText
kiloText.setBackground(White) // does not work
kiloText.setBackground("White") // does not work
kiloText.setBackground(250,250,250) // does not work
are the API's always difficult to understand? or will I get better at understadning them?
thank you.
[347 byte] By [
hugocppa] at [2007-10-2 7:18:56]

> may i know, why in the API
>
>
> static Color blue
>The color blue.
> static Color BLUE
>The color blue.
>
> what is the difference between BLUE and blue
>
The original blue didn't comply with the naming conventions for constants, and then BLUE was added. They couldn't remove blue for backwards-compatibility reasons.
> The original blue didn't comply with the naming
> conventions for constants, and then BLUE was added.
> They couldn't remove blue for backwards-compatibility
> reasons.
i was looking at 1.4.2 doc . i am surprised to see the same thing even at 1.5.0 !
however, i shall be stick to "BLUE".
thank you