Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { Component component; if (previous != null) { component = previous.getTableCellRendererComponent(table, value, isSelected, false, row, column); } else { component = super.getTableCellRendererComponent(table, value, isSelected, false, row, column); } if (component instanceof JComponent) { ((JComponent)component).setBorder(null); } return component; }