List cell renderer with JLabel: selected border



Hello!

When using a custom cell renderer (JLabel subclass), I noticed the
border of a selected item is not drawn. How can I achieve a border
like with the default renderer, the "yellow dots" around the entries,
as with a standard JList or JTree for example.

How do I do it? Change the JLabel super class to ...?

Karsten

PS: I need icons to be displayed on the left hand side.

.