On Thu, 31 Jul 2025 07:28:36 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
>> For Windows and GTK L&F, mnemonic is visible when ALT key is pressed. >> Test instruction updated to reflect the desired behaviour . > > Abhishek Kumar has updated the pull request incrementally with one additional > commit since the last revision: > > minor text instruction update If I am right, the main bug is about underline drawing and not about mnemonic. Yet mnemonic is used to check underline drawing under the string, I guess you can think of using the code mentioned in [JDK-4967768](https://bugs.openjdk.org/browse/JDK-4967768) in the test which would be fine for all L&F. ------------- PR Review: https://git.openjdk.org/jdk/pull/26546#pullrequestreview-3075514372