JComboBox won't open dropdown
Okay, I'm feeling REALLY stupid today. I haven't had to use a JComboBox for years, and now the darn thing won't work.
I have a JComboBox (created via new JComboBox() ) in a BorderLayout panel, which is in a BoxLayout panel.
The program creates the panels and displays them, and initially there is nothing in the JComboBox, and it is disabled.
I then enable it, and use the addItem() method to add 2 Strings.
The strings get added, and I can switch between them using the up/down arrows on the keyboard.
But if I click on the little down arrow at the right of the JComboBox - nothing happens. No Dropdown.
I've GOT to be doing something incredibly stupid, but I haven't been able to figure out what.