void (@NotNull JList<T> list) { list.setFont(myComboBox.getFont()); list.setForeground(myComboBox.getForeground()); list.setBackground(myComboBox.getBackground()); list.putClientProperty(ANIMATION_IN_RENDERER_ALLOWED, myComboBox.getClientProperty(ANIMATION_IN_RENDERER_ALLOWED)); }