Home Segments Top Top Previous Next

996: Mainline

In general, the component returned by the getTableCellRenderer method can be any component, in addition too a JLabel instance; the components displayed in table cells can be progress bars, check boxes, tables, or instances any other subclass of the Component class.

The principle virtue of table-cell renderers is that they provide access to the full power of Java's Component classes.