Good morning to all,
I need to fill a JComboBox with a list of
String items, which are quite long. Now, when the combo box width is shorter than items' size, if I use "regular text" strings
there are no problem: item's text is truncated with ellipses.Instead, if I use "html strings" (I use html to get different colours in displaying items), JComboBox tries
and wraps line..
I'm just wondering if a method exists to achieve truncation even with HTML.
Thanks a lot.