Seems like this should be simple, but a few hours on Google has only confused me more.
I have a JComboBox that I want to be locked to a specific height, not the default height.
I want to be able to add items to this box, and have it resize its width to fit the "longest" object.
Any combination of setPreferredSize() that I've used seems to lock both, not just the one. Your help is appreciated.