void (final @NotNull EditorEx editor) { if (editor.isOneLineMode() && !Boolean.TRUE.equals(getClientProperty("JComboBox.isTableCellEditor")) && (SwingUtilities.getAncestorOfClass(JTable.class, this) == null || Boolean.TRUE.equals(getClientProperty("JBListTable.isTableCellEditor")))) { final Container parent = getParent(); if (parent instanceof JTable || parent instanceof CellRendererPane) return; setupBorder(editor); } }