Class ComboBoxListRenderer<T>

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ListCellRenderer<T>, SwingConstants

public final class ComboBoxListRenderer<T> extends JLabel implements ListCellRenderer<T>
A custom list renderer to avoid substance's weird coloring. Substance was making selected items' foreground color black, this was very hard to see in the dark gray background, this makes the selected item white and adds some padding to the elements for more readable list.
See Also:
  • Constructor Details

    • ComboBoxListRenderer

      public ComboBoxListRenderer()
  • Method Details