classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Why override setBackground(Color) in DefaultTableCellRenderer?


From: Stephane Meslin-Weber
Subject: RE: Why override setBackground(Color) in DefaultTableCellRenderer?
Date: Sat, 27 Sep 2003 17:42:29 +0100

> I  do not  understand what  I have  to  do in  this methode  
> nor in  the
> setForeground(Color) one?
> 
> Can someone help me and explain what to do? 
> http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/table/Defa
> ultTableCellRenderer.html#setBackground(java.awt.Color)

The docs say a few other methods had to be overridden to no-ops to stop
the revalidation that would happen when those properties are changed. I
imagine that this could also the case for changing the colours.

-- Steph






reply via email to

[Prev in Thread] Current Thread [Next in Thread]