RFR: 8283507: Create a regression test for RFE 4287690 [v4]

Manukumar V S mvs at openjdk.java.net
Mon Apr 11 13:51:41 UTC 2022


> 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.

Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:

  Review comments fixed: Formatting changes, removed unwanted for loop, company names in Camel

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7906/files
  - new: https://git.openjdk.java.net/jdk/pull/7906/files/cba696d7..a30db6a1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7906&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7906&range=02-03

  Stats: 14 lines in 1 file changed: 0 ins; 5 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7906.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7906/head:pull/7906

PR: https://git.openjdk.java.net/jdk/pull/7906



More information about the client-libs-dev mailing list