Hi, I got confused about rendering cells of a jtable, my question is do we have the coice to implement the TableCellRenderer interface or to extend Swing's DefaultTableCellRenderer class ? if not when we have to use each of them ? thank you, I appreciate your helps.
DefaultTableCellRenderer implements TableCellRenderer, so you can use either one. For most things it's easier to just make a subclass of DefaultTableCellRenderer. If you need to make big changes, then you can start with just the TableCellRenderer interface and implement everything yourself.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.