On Fri, 18 Oct 2024 11:39:40 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Both approaches sounds okay to me, but adding an anonymous class similar to 
>> WindowAdapter() may be clearer.
>
> Since you both for inlining the listener, I've amended the code.

Looks clearer now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21475#discussion_r1806390074

Reply via email to