Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { Color color = UIUtil.getTableFocusCellBackground(); UIManager.put(UIUtil.TABLE_FOCUS_CELL_BACKGROUND_PROPERTY, table.getSelectionBackground()); Component component = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); if (component instanceof JLabel) { ((JLabel)component).setBorder(noFocusBorder); } UIManager.put(UIUtil.TABLE_FOCUS_CELL_BACKGROUND_PROPERTY, color); com.intellij.ui.classFilter.ClassFilter filter = (com.intellij.ui.classFilter.ClassFilter)table.getValueAt(row, FilterTableModel.FILTER); component.setEnabled(isSelected || (ClassFilterEditor.this.isEnabled() && filter.isEnabled())); return component; }