Component (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { //noinspection unchecked Component component = comboBox.getRenderer().getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); if (component instanceof JComponent && !(component instanceof KotlinUIDslRenderer)) { customizeListRendererComponent((JComponent)component); } return component; }