in reply to Re: Help with JComboBox
in thread Help with JComboBox
I actually would expect this same behavior for some of the same reasons above. (I don't like the behavior)
Instead of $chosen = $choice[$c];
try $cb->setSelected($choice[$c]);
and you won't have to do a hide. I have just learned to use the setSelected() method to avoid this issue.