P
pitoniakm
greetings,
I would like to have a jComboBox on my toolbar that displays only a
icon for any selected combobox items (which will be String paths) when
not expanded, and only display the path without the icon in the list
when expanded. It appears that ComboBoxRenderer only allows for both
selected and list items to have icons and text, or just text, but not a
mix. Has anyone done this? A code snippet would be greatly appreciated
if so.
Many Thanks,
mp
I would like to have a jComboBox on my toolbar that displays only a
icon for any selected combobox items (which will be String paths) when
not expanded, and only display the path without the icon in the list
when expanded. It appears that ComboBoxRenderer only allows for both
selected and list items to have icons and text, or just text, but not a
mix. Has anyone done this? A code snippet would be greatly appreciated
if so.
Many Thanks,
mp