On Mon, 14 Oct 2024 15:59:26 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Ok... > > If anyone else thinks using an anonymous class here makes the code shorter > and cleaner, I'll go for it. Both approaches sounds okay to me, but adding an anonymous class similar to WindowAdapter() may be clearer. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21475#discussion_r1800283230