RFR: 4938801: The popup does not go when the component is removed. [v4]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Jul 25 05:43:56 UTC 2025


On Fri, 25 Jul 2025 05:15:50 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> All you have to do is call `setVisible(false)` (possibly ensuring that `isVisible()` returns `true` first).
>> 
>> This will hide the popup menu and fire the relevant events which aren't sent now… and popup remains on the screen.
>
> Hmm..that is strange..it used to work I am sure..let me check..

probably we should use hide() instead to allow it to dispose() the resources..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26407#discussion_r2230198864


More information about the client-libs-dev mailing list