Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { @SuppressWarnings("unchecked") T t = (T)value; myCellState.collectState(table, isSelected, hasFocus, row, column); myCellState.updateRenderer(this); customizeComponent(t, table, isSelected); return this; }