On Tue, 15 Apr 2025 00:33:31 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:

>> Open source some more Swing menu tests
>
> test/jdk/javax/swing/JPopupMenu/bug4234793.java line 84:
> 
>> 82: 
>> 83:         Notice each time you perform a hide/cancel action an appropriate 
>> message should
>> 84:         appear in the log area
> 
> _"Click to display the menu, then to hide it, LEFT click on the window 
> background."_ does not produce PopupMenu cancelled msg for the 2 menus on the 
> menubar and the combobox menu. But clicking the mouse on another component 
> does cause the popup cancelled msg to be displayed.

I didn't notice it earlier ... I see why the msg is not logged in PFJ.logArea.
The "popupMenuWillBecomeInvisible: " needs to be added to the PFJ.log() instead 
of standard out.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24636#discussion_r2043247341

Reply via email to