Do you have a code sample by any chance? Thanks. -----Original Message----- From: Wathen, Dave Sent: Wednesday, November 28, 2001 10:32 AM To: Reinstein, Lenny; [EMAIL PROTECTED] Subject: RE: JTable: setting row background color.
Subclass JTable and override prepareRenderer(). Regards Dave Wathen Goldman Sachs Asset Management 3rd Floor, Procession House 55 Ludgate Hill London EC4M 7JN +44 (0)20-7774-2998 Any sufficiently advanced technology is indistinguishable from magic. (Arthur C. Clarke) -----Original Message----- From: Reinstein, Lenny Sent: Wednesday, November 28, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: JTable: setting row background color. What is the easiest way to set the row color at run time in JTable? I would like to implement something like setRowColor(int rowNumber)? I know I can implement a new Table renderer where the object may have that information. The issue is that I already have a table implemented that work with the array of Strings, and I don't want to change this. Thanks in advance. -Lenny, New York. _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing