Component (@NotNull TableCellRenderer renderer, int row, int column) { final Component component = super.prepareRenderer(renderer, row, column); // to properly display the table in disabled state. See also // sun java bugs #4841903 and #4795987 component.setEnabled(isEnabled()); return component; }