Selecting the item in the choice does not work properly when the focus is brought to & from the choice.
Step to reproduce:
1) Run the attached code.
2) Press "Tab" to move the focus on the Choice & move the focus back on the button & once again on the choice.
3) Click on the choice & try selecting any item, the drop down does not close immediately after selecting the item. You have to click once again on the item to select & choice the drop down.
If you observe the same then the bug is reproduced.
Even i have added the mouseListener to the choice. clicking on the choice triggers only mousePressed event not the mouseReleased event.
This works fine in Mustang b105, Even it works fine in jdk7.0 b01 build , but fails in jkd7.0 b02 onwards. Hence this is a regression.
i tested this in vista ulitmate b6000.