posted 22 years ago
/* The foll. appln has a Frame whose background = red and foreground = green
I am adding a Panel to this frame.
I am adding a Choice to this Panel
When I display the frame ,the Choice has WHITE as its background color when it is clicked (The area inside the pulldown menu). But theletters are in Green .It does not take it's parent Panel's background color which is RED in this case. But When I explicitly set the back and fore colors of the Choice it behaves as expected.
Is this a special behaviour of Choice Component? Because in R & H pg 315, the Warning says that some Components resist to change their colors in some platforms. I am using WIN 98 /JDK 1.2.2 on a Pentium m/c
Can anybody add anything to this?
*/
[This message has been edited by maha anna (edited February 15, 2000).]