private void setupRenderer(JList   list,
                               Object  value,
                               int     index,
                               boolean selected,
                               boolean cellHasFocus) {
        inner = null;
        if (renderer != null) {
            try {
                inner = renderer.getRendererComponent(editor, value, selected);
            } catch (Exception ex) {
                // inner still null
            }
        }

        if (inner == null) {
            inner = defaultRenderer.getListCellRendererComponent(list, value,
                    index, selected, cellHasFocus);
        }
    }
private void setupRenderer(JList   list,
                               Object  value,
                               int     index,
                               boolean selected,
                               boolean cellHasFocus)