{
@Override
public Component getListCellRendererComponent ( final JList list, final Object value, final int index, final boolean isSelected,
final boolean cellHasFocus )
{
final EditorTheme editorTheme = ( EditorTheme ) value;
final WebComboBoxElement renderer =
( WebComboBoxElement ) super.getListCellRendererComponent ( list, value, index, isSelected, cellHasFocus );
renderer.setIcon ( editorTheme.getIcon () );
renderer.setText ( editorTheme.getName () );
return renderer;
}
} );
theme.addActionListener ( new ActionListener ()
{