Hi, Alexey.
The changes in the BasicPopupMenuUI does not look clear, I am not sure
but probably it will be better to implement it in the same way as for
MOUSE_PRESSED(via UIManager property)? It will add an additional
configuration possibility.
Can you also confirm that the case when the user install mouse wheel
listener to the JComboBox still works.
On 06.05.15 16:30, Alexey Ivanov wrote:
Hello Swing team,
Could you please review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8033069
webrev: http://cr.openjdk.java.net/~aivanov/8033069/jdk9/webrev.00/
Description:
If you rotate mouse wheel when combo box popup is open, the popup gets
closed.
The fix is to always consume MOUSE_WHEEL event.
There are two regression tests for the cases where popup has vertical
scroll bar and does not have scroll bar.
Thanks,
Alexey
--
Best regards, Sergey.