implemented the renderer for the JList