setLabelFor and JComboBox
Does setLabelFor work if JComboBox is the target? I want to set a mnemonic in the label, and have the mnemonic be "for" the JComboBox.
For JTextFields, I've found it works most predictably if I add a focusListener on the label, so that if the label gains focus, it automatically tells the JTextField to requestFocus. It seems like setLabelFor should handle that automatically, but it worked only about half the time; with a focusListener it works all the time.
However, with JComboBox as the target I can't get either method to work. The mnemonic in the label doesn't do anything.