Does anyone know how to change the foreground color of a header

in a JTable ?

I tried gettting the cell renderer and then the component

and setting its foregound color to Color.green but it

didn't display the new color.


Either this is a tricky problem (I really haven't

seen a single JTable example with different color in the header row)

or I'm really overlooking something major.


Thanks.


Roque