Create a regression test for 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.