Integrated: 8283507: Create a regression test for RFE 4287690
Manukumar V S
mvs at openjdk.java.net
Mon Apr 11 14:04:52 UTC 2022
On Tue, 22 Mar 2022 15:48:39 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> Create a regression test for [JDK-4287690](https://bugs.openjdk.java.net/browse/JDK-4287690)
> Issue description:
> I want JComboBox to send an event just before the popup (drop down) list is displayed.
>
> Fix:
> This requires some additional API targeted for major release of the JDK (1.4).The PopupMenuEvent will from the JPopupMenu will be forwarded to the JComboBox. A client of the JComboBox can register itself as a PopupMenuListener to receive the notification.
> So JComboBox should send drop down events when the drop down popup is visible as well as invisible. JComboBox.addPopupMenuListener(PopupMenuListener) can be used to register for pop up events.
>
> Testing:
> Tested using Mach5 in all platforms available(macos,linux and windows) and got all pass.
This pull request has now been integrated.
Changeset: 7edd1861
Author: Manukumar V S <mvs at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7edd18612155b8e66f214a17e65ef775b470955e
Stats: 200 lines in 1 file changed: 200 ins; 0 del; 0 mod
8283507: Create a regression test for RFE 4287690
Reviewed-by: serb, aivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/7906
More information about the client-libs-dev
mailing list