I'm using a bunch of JComboBoxes, laid out with SpringUtilities.makeCompactGrid to make a form-like panel:
Selections in one combobox result in populating others.
The problem is, some of the data going into the combobox is very long, so it gets stretched out, sometimes outside the visible area.
I wanted to ellipsize Strings that would stretch out the combobox, but can't find a good way to do it.
Even if I set a max number of characters - which is a bad idea because comboboxes may be different widths on different panels - it doesn't work because in order to keeping things right sized on mac results in a lot of empty space on windows.