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

>> 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, but I see why the msg was not logged in 
> PFJ.logArea.
> The "popupMenuWillBecomeInvisible: " needs to be added to the PFJ.log() 
> instead of standard out.

I have decided I should just kill setMessage and call PassFailFrame.log directly

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

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

Reply via email to