void (@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) { PaletteItem paletteItem = (PaletteItem) value; clear(); paletteItem.customizeCellRenderer(this, selected, hasFocus); }