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

Jeremy Wood duke at openjdk.org
Tue Jul 29 22:19:54 UTC 2025


On Tue, 29 Jul 2025 20:45:36 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> what would be the expected behaviour?

I'm not sure.

If I was maintaining code with this bad rebuilding pattern: I'd appreciate it if this PR's new listener was something I could toggle off or nullify. (For ex: if it was `protected` instead of `private`). Or if it invoked a protected JPopupMenu method I could override.

But I'm not currently maintaining any such code, and I think overall this PR is worth accepting as-is.

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

PR Comment: https://git.openjdk.org/jdk/pull/26407#issuecomment-3134230270


More information about the client-libs-dev mailing list