RFR: 8361298: SwingUtilities/bug4967768.java fails where character P is not underline

Damon Nguyen dnguyen at openjdk.org
Thu Jul 31 06:24:59 UTC 2025


On Wed, 30 Jul 2025 06:22:56 GMT, Abhishek Kumar <abhiscxk at 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 .

Agreed that the instructions need to be updated for this. Maybe rephrase the new segment to read a bit smoother.

test/jdk/javax/swing/SwingUtilities/bug4967768.java line 45:

> 43:             ALT key to activate the mnemonic to be visible.
> 44:             Once ALT key is pressed, the "p" letter
> 45:             is underlined at the bottom of the instruction frame.

Suggestion:

            For Windows and GTK Look and Feel, you will need to 
            press the ALT key to make the mnemonic visible.
            Once the ALT key is pressed, the letter "p" will be
            underlined at the bottom of the instruction frame.

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

Changes requested by dnguyen (Committer).

PR Review: https://git.openjdk.org/jdk/pull/26546#pullrequestreview-3074112147
PR Review Comment: https://git.openjdk.org/jdk/pull/26546#discussion_r2244455122


More information about the client-libs-dev mailing list