hello, me again...
ok, let's forget about
testing the String for now - I'll be happy if I can just get it to draw ALL the entries in a column in red for now !!! OK, I have this NumberCellRenderer, which extends DefaultTableCellRenderer. I've had this class around for a while : in its constructor, I set its horizontalAlignment to RIGHT because I want this to apply to all cells, no testing required. (and that's the bit that works)
So, now I have overridden the getTableCellRendererComponent method of NumberCellRenderer, ...
which not only doesn't draw anything in red, but it also doesn't output "Oi !" either.
So, i guess I need to know what this method is supposed to do, and I need to call it ? I mean, it's not even being called. Who should call it and when ?
Many thanks
Kate
p.s. I have read the documentation too, and I'm afraid I understood very little of it !!!